例如,我总是希望在图表类型<select id = "types"的选择框中选择"Barchart“(<option value = "Balken"> Bar-Chart </option>)选项。可能是因为它是一个多层的选择框。在这方面,我的(不工作的)代码是: from selenium import webdriver
from selenium.webdriver.com
我不能通过Selenium进行简单的google搜索,尽管我相信我这样做是正确的。我尝试遵循selenium文档,但我相信这个问题可能是由python或Selenium的不正确安装引起的。下面是我的代码:from selenium.webdriver.common.by import By
from selenium.webdriver.support.