Configure Eclipse with Selenium Webdriver in Java

 

1. Download Install for Eclipse Setup

2. Download Selenium Webdriver

3. Add Selenium Jar Files into Eclipse

4. Download Third Party Browser Driver e.g(Gecko, Chrome etc…)

 

1. Download Install and Setup Eclipse

 

Step 1 :

Go to google then search eclipse download.

Click on Eclipse Downloads.

 

Step 2 :

In Eclipse website click on Download packages.

Step 3 :

Click on Windows 32 bit / 64 bit Under Eclipse IDE for Java EE Developers.

Step 4 :

Then Click on Eclipse Zip File for eclipse setup.

Step 5 :

Extract Downloaded Zip File.

Step 6 :

Open Extracted eclipse folder.

Double click on eclipse Application to Run Eclipse setup.

Step 7 :

Select workspace location and click on Launch button for eclipse setup.

Step 8 :

After Launching Eclipse.

 

2. Download Selenium Webdriver

 

Step 1 :

Enter Download Selenium Webdriver in google.

Click on First Link  http://www.seleniumhq.org/download/

Step 2 :

Download Java latest Client version

Step 3 :

After Download Selenium Webdriver Add Jar files into Libraries.

Extract Here Selenium Webdriver zip folder.

 

3. Add Selenium Jar Files into Eclipse

 

Step 4 :

To add Selenium Jar files into Java Projects need to Create a new Java Project.

Create a new Java Project.

Step 5 :

Enter Project Name

Click on Next.

Step 6 :

Select Libraries tab and Click on Add External Jars.

Step 7 :

Select all Jar files selenium-java-3.8.1 folder.

Select all Jars under libs folder also.

Step 8 :

After adding all Jar files Click on Finish button.

 

 

4. Download Third Party Browser Driver e.g(Gecko, Chrome etc…)

 

Step 1 :

Go to http://www.seleniumhq.org/download/

Click on Any Browser Version For e.g : Click on 0.19.0 GeckoDriver version.

For e.g :

Mozilla GeckoDriver, Google Chrome Driver, Opera, Microsoft Edge Driver, HtmlUnitDriver etc…

Step 2 :

Download GeckoDriver as per Operating System with 32 / 64 bit OS.

We Download GeckoDriver for Windows as per 32 / 64 bit OS.

 

Step 3 :

After Downloading Extract here geckodriver-v0.19.1-win64 file.

Configure Eclipse with Selenium Webdriver in Java and Configure Eclipse with Selenium Webdriver in Java or and Configure Eclipse with Selenium Webdriver in Java selenium java Configure Eclipse with Selenium Webdriver in Java