When I try to run a Selenium test, I get an error


If you get the following error:

selenium.common.exceptions.SessionNotCreatedException (...This version of ChromeDriver only supports Chrome version...)

Make sure that (a) the version of your ChromeDriver is the same as the version of Chrome:

$ chromedriver --version
$ chrome --version

If they are not the same:

  • download the appropriate version of ChromeDriver.
  • unzip the file
  • move the chromedriver file into the appropriate location.
    • On Linux, that could be /usr/bin, $HOME/.local/bin, etc.
    • Use the which command to check the location: $ which chromedriver
  • Make sure the permissions are correct (755).
Persistent URL
Resource purlPURL: https://gxy.io/GTN:F00242
Still have questions?
Gitter Chat Support
Galaxy Help Forum