Skip to content
Kristine edited this page Apr 29, 2021 · 5 revisions
  1. Clone Project: Alt text Alt text

  2. In IDEA check in project structure, that:

    • Project settings: Alt text
    • Modules settings: Alt text

When executing tests I see an error that I have version of Chrome XX, but driver supports Chrome YY

Alt text

Check your Chrome version (if link doesn't work google "chrome version check") Then go to chrome driver download site (again if link doesn't work google "download chromedriver") and download the version of driver which is correct for your browser version, which you checked before. Move replace the existing chrome driver in the lib folder with the one you just downloaded.

In case you are running it on Mac

And you see error ""chromedriver" cannot be opened because the developer cannot be verified":

Alt text

Open terminal, go into the "project folder"/lib. (So if you cloned it to /Users/username/code/selenium_java_basic, do:

cd /Users/username/code/cucumber_java_basic/lib

And then execute:

xattr -d com.apple.quarantine chromedriver