我试图在Python3中使用Selenium自动化一个任务,我需要单击一个下拉选项。我能够获得web元素,但是click()函数在它上面不起作用。driver.find_element_by_xpath("//li[@id='btnRemoveWorkflow']").click() throws an error
"selenium.common.exceptions.ElementNotInteractableException
https://demo.guru99.com/test/newtours/register.phpEclipse正在抛出以下错误:
线程"main“中的异常:‘org.openqa.selenium.WebElement.getDomAttribute(java.lang.String)’atorg.openqa.selenium.support.ui.Select.(Select.java:54) at