Selenium Webdriver(ChromeDriver) - 给出未知错误:Runtime.executionContextCreated具有无效的'上下文错误

时间:2017-05-23 14:58:47

标签: python google-chrome selenium selenium-webdriver selenium-chromedriver

我正在使用selenium webdriver for chrome browser,我在运行时遇到以下错误。尝试使用chromedriver版本 - 2.9。 Chrome浏览器确实被调用,但在地址栏上显示Not secure,但有以下异常。任何有助于解决这个问题的帮助。

selenium.common.exceptions.WebDriverException: Message: unknown error: Runtime.executionContextCreated has invalid 'context': {"auxData":{"frameId":"7520.1","isDefault":true},"id":1,"name":"","origin":"://"}
(Session info: chrome=58.0.3029.110)
(Driver info: chromedriver=2.9.248315,platform=Windows NT 6.1 SP1 x86_64)

1 个答案:

答案 0 :(得分:3)

我有类似的问题,你只需要使用2.25版本的Chrome驱动程序,我认为它可以解决你的问题