0

Why am I getting this error? I already tried upgrading selenium via pip -U.

Python Selenium Chrome Driver Error: img

alan.elkin
  • 954
  • 1
  • 10
  • 19
  • 1
    Please do not share information as images unless absolutely necessary. See: https://meta.stackoverflow.com/questions/303812/discourage-screenshots-of-code-and-or-errors, https://idownvotedbecau.se/imageofcode, https://idownvotedbecau.se/imageofanexception/. – AMC Jul 10 '20 at 22:54
  • You are getting the error for exactly the reason it says: you are using a version of chromedriver that only works with chrome 79, but you apparently aren't using chrome 79. – Bryan Oakley Jul 10 '20 at 22:58

1 Answers1

0

You have to update (or downgrade) your ChromeDriver. The ChromeDriver does not come with selenium but you have to download it from chromedriver.chromium.org. In Windows, you need to replace the chromedriver executable in your PATH (if you have chromedriver.exe in a folder listed in PATH).

You can check the version (major version) you need using Chrome browser at chrome://version/

Niko Föhr
  • 28,336
  • 10
  • 93
  • 96