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集合
时间: 2024-10-03 00:50:13
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集合