首页 > 其他分享> > selenium.common.exceptions.ElementNotVisibleException: Message: element not interactable报错
selenium.common.exceptions.ElementNotVisibleException: Message: element not interactable报错
作者:互联网
selenium.common.exceptions.ElementNotVisibleException: Message: element not interactable
页面元素不可交互
调试发现其实是 self.driver.find_element_by_xpath("//li[text()='新闻']")找到了多个元素
重新定位一下保证找到的值是唯一的就ok
标签:selenium,element,exceptions,interactable,报错,common,ElementNotVisibleException 来源: https://www.cnblogs.com/wenm1128/p/11543643.html