我使用的是带有selenium 3.14.1的Python版本3.8.2。
我对Python和Selenium都是新手。我正在使用Pycharm编写我的自动化脚本。当我尝试使用driver.find_elements_by_xpath().click()命令时,下拉列表中没有显示单击()选项。如果我使用driver.find_element_by_name or driver.fi
我得到了下面提到的错误。如果我不能提供到元素的正确路径,请告知。selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//form[@id="extended-nav-search"]/input