org.openqa.selenium.WebDriverException: unknown error: Runtime.executionContextCreated has invalid ‘context‘: {"auxData":{"frameId":"FCF1F193B7F00B9253A07BA024A2E271","isDefault":true,"type":"default"},"id":1,"name":"","origin":"://"}
(Session info: chrome=70.0.3538.110)
(Driver info: chromedriver=2.14.313457 (3d645c400edf2e2c500566c9aa096063e707c9cf),platform=Windows NT 10.0 x86_64) (WARNING: The server did not provide any stacktrace information)
chromedriver的版本与chrome不匹配导致的
最新的chromedriver与chrome的对应关系表:
chromedriver版本 支持的Chrome版本:
参考这篇文章
https://blog.csdn.net/huilan_same/article/details/51896672
所有chromedriver均可在下面链接中下载到:
http://chromedriver.storage.googleapis.com/index.html
chromedriver下载后替换到:
\Appium\node_modules\appium\node_modules\appium-chromedriver\chromedriver\win