我试图在Python3中使用Selenium自动化一个任务,我需要单击一个下拉选项。我能够获得web元素,但是click()函数在它上面不起作用。driver.find_element_by_xpath("//li[@id='btnRemoveWorkflow']").click() throws an error
"selenium.common.exceptions.ElementNotInteractableExceptio
我正在尝试使用selenium在页面上点击"Load More“。selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element</div> is not clickable at point (382, 18).</div>
(Session info: chrome=83.0.4103.61) 我想要向下滚
我试图在div下拉列表中单击一个标签。我已经尝试了4个代码选项,但没有任何效果。我知道XPATH是对的。我已经隐睡了。browser.find_element_by_xpath(OrderTypeXPATH)).click().perform()browser.find_element_by_xpath(OrderTypeXPATH).click()<div class="dropdown"> <!<a h
尝试通过python中的selenium从下拉菜单中选择多个元素。我从GoogleChrome上试过检查菜单。//label[@for="inputGenre"]/parent::div//select[@placeholder="Choose a Category"]给出了我所需要的选择标记。但是不幸的是,<em
我正在尝试使用python selenium登录instagram。但我必须接受这些饼干才能继续。 ? 这是我的代码 class InstaBot: self.driver = webdriver.Chrome()that im trying to use, so to click the accept button
self.driver.find_element_by_xpath("/html