Prerequisites

An Integrated Development Environment

  • You will need a modern IDE to work with Java

  • Eclipse or Intellij can be used

JAVA

Install Java on your computer

Download and install the Java Software Development Kit (JDK) here.

How to Download & Install Selenium WebDriver

Next –

How to Download & Install Selenium WebDriver

This JDK version comes bundled with Java Runtime Environment (JRE), so you do not need to download and install the JRE separately.

Once installation is complete, open command prompt and type “java”. If you see the following screen you are good to move to the next step

Maven

  • Run autonomx -> setup.sh/.bat to automatically downloaded maven locally

  • or download manually:

  • You will also need Maven 3.3.x or higher installed.

  • Download maven zip file

  • Unzip to a directory

Add to Environment

Windows

  • Go to Environment Variables

  • User "system variables", find Path variable and select edit

  • Select new and enter the path to maven bin directory

  • eg. c:\<install location>\apache-maven-3.6.1\bin

  • Save and close

  • Verify by opening command prompt and typing "mvn --version"

Mac

  • Add maven path to bash profile:

  • vim ~/.bash_profile
  • Add path:

  • export M2_HOME=/Users/someUser/apache-maven-3.6.1
    export PATH=$PATH:$M2_HOME/bin
  • Save and close

    • press "shift + :" and type "wq!" to save

  • Close and reopen the terminal

  • Verify with "mvn --version"

  • or you can use brew:

    brew install maven