Permalink
Find file
8d32101 Oct 19, 2016
254 lines (165 sloc) 8.62 KB

Generic Selenium WebDriver Install Speedrun checklist

Basic steps:

  • Install Java and supporting tools
    • install Java JDK
    • install Maven
    • check Java and Maven work by running a sample test
  • Install IntelliJ
    • check IntelliJ works by running the sample test
  • Install WebDriver Supporting Tools
    • download and Install Chrome
    • download and Install Firefox
    • download and install Marionette GeckoDriver
    • download and Install ChromeDriver
    • check installs work by running the sample tests

Install Videos

Windows Install Videos

Mac Install Videos


Windows Install Speedrun checklist

Install Java Pre-requisites

For instructions on how to install Java, Maven and IntelliJ; and check they are working, use the checklist in startUsingJavaJunit project:

Note: Currently recommend using ChromeDriver as your default driver and the current version of Chrome as your default browser. If you only setup one driver and browser, make it Chrome, it is a lot easier to start with.


Install Sample WebDriver Project on Windows


  • Check the most up to date version of WebDriver
    • [ ]check most up to date version of WebDriver in the unzipped pom.xml file
    • [ ]check the webdriver downloads page or the maven page for the up to date version
    • [ ]amend the pom.xml file if the version number is not up to date
    • [ ]exit IntelliJ

Install Firefox and Marionette GeckoDriver on Windows

  • [ ]If install ESR version of Firefox (45) https://www.mozilla.org/en-US/firefox/organizations/faq/

    • [ ]no need to download any extra drivers
    • if using WebDriver 2.53.1
      • [ ]in startUsingSeleniumWebDriver folder run command mvn test -Dtest=MyFirstTest
    • if using WebDriver 3.0.1 (or above)
      • [ ]in startUsingSeleniumWebDriver folder run command mvn test -Dtest=MyFirstLegacyFFTest
  • [ ]If Install Current version of Firefox


Install Chrome and ChromeDriver on Windows


Run Test From IDE on Windows

  • [ ]Back in IntelliJ

  • [ ]run MyFirstTest, or MyFirstTestFF48 or MyFirstChromeTest class

    • [ ]right click on the class in the project window and select "Run
  • [ ]When the test runs from the IDE, you are finished your install and setup


Mac Install Speedrun checklist - Homebrew

Install Java Pre-requisites

For instructions on how to install Java, Maven and IntelliJ; and check they are working, use the checklist in startUsingJavaJunit project:


Install WebDriver Sample Project on Mac

Note: Currently recommend using ChromeDriver as your default driver and the current version of Chrome as your default browser. If you only setup one driver and browser, make it Chrome, it is a lot easier to start with.


  • [ ]open project for the unzipped pom.xml file

  • [ ]check most up to date version of webdriver in the unzipped pom.xml file

    • [ ]check the Selenium webdriver downloads page or the maven page for the up to date version
      • I do not recommend using a beta version
    • [ ]amend the pom.xml file if the version number is not up to date
    • [ ]exit IntelliJ

Install Firefox and Marionette GeckoDriver on Mac

  • [ ]If install ESR version of Firefox (45) https://www.mozilla.org/en-US/firefox/organizations/faq/
    • [ ]no need to download any extra drivers
    • if using WebDriver 2.53.1
      • [ ]in startUsingSeleniumWebDriver folder run command mvn test -Dtest=MyFirstTest
    • if using WebDriver 3.0.1 (or above)
      • [ ]in startUsingSeleniumWebDriver folder run command mvn test -Dtest=MyFirstLegacyFFTest

  • [ ]If Install Current version of Firefox
    • either with cask brew cask install firefox
      • or visit the site and install
  • [ ]download GeckoDriver add it to the path

Install Chrome and ChromeDriver on Mac

  • [ ]Install Current version of Chrome

    • either with cask brew cask install google-chrome
    • or visit the site and install
  • [ ] Install ChromeDriver

    • [ ]download ChromeDriver add it to the path * https://sites.google.com/a/chromium.org/chromedriver/
    • extract into a folder
    • add folder path to .bash_profile
    • export PATH=$PATH:/folder/you/extracted/it/to
    • [ ]in startUsingSeleniumWebDriver folder run command mvn test -Dtest=MyFirstChromeTest

Run Test From IDE on Windows

  • [ ]Back in IntelliJ

  • [ ]run MyFirstTest, or MyFirstTestFF48 or MyFirstChromeTest class

    • [ ]right click on the class in the project window and select "Run
  • [ ]When the test runs from the IDE, you are finished your install and setup


Generic Links:



Selenium Simplified

Online Training and blog teaching Selenium WebDriver with Java

By Alan Richardson