LoginSignup
4
0

More than 5 years have passed since last update.

Python seleniumのsend_keysで出たエラーの対処方法

Posted at

エラー内容

seleniumのsend_keysで下記エラーが発生

selenium.common.exceptions.WebDriverException: Message: unknown error: call function result missing ‘value’
 (Session info: headless chrome=65.0.3325.162)
 (Driver info: chromedriver=2.33.506106 (8a06c39c4582fbfbab6966dbb1c38a9173bfb1a2),platform=Mac OS X 10.13.3 x86_64)

解決方法

chromedriverをバージョンアップ

手順

ChromeDriver - WebDriver for Chromeから最新のchromedriver.zipをダウンロード&解凍。
解凍したファイルを/usr/local/bin以下に配置して完了

コマンド

$ curl -O https://chromedriver.storage.googleapis.com/2.37/chromedriver_mac64.zip
$ unzip chromedriver_mac64.zip
$ mv chromedriver /usr/local/bin/
$ rm -rf chromedriver_mac64.zip
4
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
0