Frequently Asked Questions
Training session: Debugging Galaxy
Q: When I try to run a Selenium test, I'm getting this error: selenium.common.exceptions.SessionNotCreatedException (...This version of ChromeDriver only supports Chrome version...)
A: 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: https://chromedriver.chromium.org/downloads
After which, unzip the file and 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).
Q: I cannot run client tests because yarn is not installed.
A: Make sure you have completed the steps above (executing scripts/common_startup.sh) and have activated the virtual environment
(. .venv/vin/activate) in your current terminal session.