Selenium2Library系列 keywords 之 _SelectElementKeywords 之 _get_labels_for_options(self, options)
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集合