标签:
1 def _get_labels_for_options(self, options): 2 labels = [] 3 for option in options: 4 labels.append(option.text) 5 return labels
方法名:_get_labels_for_options(self, options)
私有方法 返回options的text数组
接收参数:options集合
Selenium2Library系列 keywords 之 _SelectElementKeywords 之 _get_labels_for_options(self, options)
标签:
原文地址:http://www.cnblogs.com/loveok-56/p/4457552.html