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

  windows 下,放在C:WindowsSystem32目录下;

  Linux下,把下载好的文件放在 /usr/bin 目录下;

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

原文地址:https://www.cnblogs.com/lizm166/p/9983203.html