我正在写一个python硒脚本。我想选择以下类:Python硒:我如何从下拉菜单中选择一个值
<select style="position: absolute; left: 0px; top: 0px;" class="gwt-ListBox project-list">
<option value="10">Case Notes</option>
却得到了失败:
elem = self.driver.find_element_by_xpath("//contains[@class=gwt-ListBox.project-list']")
任何一个可以探索吧。
你错过了“@下课= – lauda
http://sqa.stackexchange.com/questions/12029 /如何在我的工作与下拉式在硒 - webdriver –
在我的情况下,我没有任何ID为