selenium.common.exceptions.ElementNotVisibleException: Message: element not interactable
页面元素不可交互
调试发现其实是 self.driver.find_element_by_xpath("//li[text()='新闻']")找到了多个元素
重新定位一下保证找到的值是唯一的就ok
selenium.common.exceptions.ElementNotVisibleException: Message: element not interactable
页面元素不可交互
调试发现其实是 self.driver.find_element_by_xpath("//li[text()='新闻']")找到了多个元素
重新定位一下保证找到的值是唯一的就ok
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。