Selenium webdriver chrome not reachable 问题?请高手指教

zhizunbao84 · January 03, 2020 · Last by rhyme replied at January 03, 2020 · 1881 hits

我用python+selenium测试一个手机app的webview页面,但是一直提示chrome not reachable

然后我发现我手机里浏览器是一个版本,手机里的还有一个android system webview,又是另一个版本。用chrome://inspect发现测试app
中的webview版本又是另外一个。

我应该下载对应哪个版本webview的chromedriver呢?

按照一楼的提示,我得测试如向下:

----------ChromeDriver v2.29 (2017-04-04)----------
Supports Chrome v56-58
Resolved issue 1521: Assignment to Object.prototype.$family causes a crash [['Pri-1']]
Resolved issue 1482: Chromedriver cannot handle the alert generated by onbeforeunload event [['OS-All', 'Pri-2']]
Resolved issue 1315: |switch_to.window| does not visually switch tabs [['OS-All', 'Pri-3']]

----------ChromeDriver v2.28 (2017-03-09)----------
Supports Chrome v55-57
Resolved issue 1625: Error: cannot get automation extension on Chrome57+ [['OS-All', 'Pri-1', 'merge-merged-2987']]
Resolved issue 1695: Chrome crashes on Linux32 bot [['OS-Linux', 'Pri-1']]
Resolved issue 1467: A hang occurs when an alert dialog is displayed on Chrome 52+ [['OS-All', 'Pri-2']]
Resolved issue 1688: Exported Netlog with --log-net-log is truncated [['OS-Linux', 'OS-Mac', 'Pri-2']]
Resolved issue 1388: find Elements is failing [['Pri-2']]

然后我把chromedriver 2.28和2.29版本都试了下,还是不行,仍然提示chrome not reachable!

共收到 1 条回复 时间 点赞

chrome://inspect发现测试app 这个的版本

需要 Sign In 后方可回复, 如果你还没有账号请点击这里 Sign Up