1. 程式人生 > >Python3 Selenium自動化測試賦值出現:WebDriverException: Message: unknown error: call function result missing 'value'

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瀏覽器。