Python3 Selenium自动化测试赋值出现:WebDriverException: Message: unknown error: call function result missing 'value'

Python3 Selenium自动化测试赋值出现:WebDriverException: Message: unknown error: call function result missing 'value'

问题:

在给予文本框赋值的时候出现错误信息:

seleniumn.common.exceptios.WebDriverException: Message: unknown error: call function result missing 'value'

解决方案:

(1)下载和chrome浏览器版本匹配的chromedriver。

驱动的下载地址如下: 
http://chromedriver.storage.googleapis.com/index.html

(2)卸载chrome浏览器,下载和chromedriver版本匹配的chrome浏览器。

猜你喜欢

转载自www.cnblogs.com/lizm166/p/9983203.html