解决selenium.common.exceptions.WebDriverException: Message: unknown error: call function result missin

(Session info: chrome=73.0.3683.103)
  (Driver info: chromedriver=2.30.477700 (0057494ad8732195794a7b32078424f92a5fce41),platform=Windows NT 10.0.17134 x86_64)

报错如上,由于版本不兼容

 

下面是谷歌浏览器与chromedriver的版本对应关系,供参考:

------------2019年兼容版本对照表-----------
 

 注:支持chromeV74版本的driver版本号比较特别一点,不知道之后会不会回归以前正常的版本

ChromeDriver v74.0.3729.6 (2019-03-14)----------Supports Chrome v74
ChromeDriver v2.46 (2019-02-01)----------Supports Chrome v71-73
--------以下为2018年兼容版本对照表-------

ChromeDriver v2.45 (2018-12-10)----------Supports Chrome v70-72
ChromeDriver v2.44 (2018-11-19)----------Supports Chrome v69-71
ChromeDriver v2.43 (2018-10-16)----------Supports Chrome v69-71
ChromeDriver v2.42 (2018-09-13)----------Supports Chrome v68-70
ChromeDriver v2.41 (2018-07-27)----------Supports Chrome v67-69
ChromeDriver v2.40 (2018-06-07)----------Supports Chrome v66-68
ChromeDriver v2.39 (2018-05-30)----------Supports Chrome v66-68
ChromeDriver v2.38 (2018-04-17)----------Supports Chrome v65-67
ChromeDriver v2.37 (2018-03-16)----------Supports Chrome v64-66
ChromeDriver v2.36 (2018-03-02)----------Supports Chrome v63-65
ChromeDriver v2.35 (2018-01-10)----------Supports Chrome v62-64
 

解决办法更换对应版本。

地址:

https://npm.taobao.org/mirrors/chromedriver

你可能感兴趣的:(解决selenium.common.exceptions.WebDriverException: Message: unknown error: call function result missin)