我尝试使用代码单击certaion选项:
countries_dropdown = self.browser.find_element_by_class_name('countryBR')
dropdown = countries_dropdown.find_element_by_id('ControlGroupContact_ContactInputView_DropDownListCountry')
self.browser.execute_script(“arguments [0] .classList.remove('jqTransformHidden');”,下拉列表)
country_dropdown =选择(countries_dropdown.find_element_by_id('ControlGroupContact_ContactInputView_DropDownListCountry'))
country_dropdown.select_by_value(payer_details.country_code.upper())
这似乎是点击,但是当我尝试点击状态时,列表为空,并且国家/地区下拉列表似乎已打开