Skip to content

Make Selenium Easy

And Keep It That Way

  • Home
  • Share
  • Toggle search form

Get Started With Non-Maven Selenium Project – Java – Eclipse

Posted on 03/21/2025 By admin

A beginner should always start from scratch to build concepts block by block instead of jumping to advanced blocks. Keeping that in mind, I will share details on a get started non-maven Selenium Java project from scratch in Eclipse IDE. You can clone from my GIT repo as well.

Must download and install Eclipse IDE

Java 8 should be installed on your system

Open the Eclipse IDE. Make sure you have installed it and have created a workspace.

Navigate as File -> New -> Java Project

You may not get to create a Java project option directly. In that case, you can navigate as File -> New -> Others

Type “Java project” in the Search box and select from the result and click on “Next”.

Give a meaningful project name and proper version of JRE. It will be good to get started with Java 8 version. You can also change the project default location. By default, the new project is created within the workspace. Click on “Finish”.

You will see a project created in the Package Explorer with the name entered by in above step.

You can download Selenium WebDriver JAR file from Selenium official website. At the time of writing this post, Selenium 4 version is going to be released but it is still in Alpha versions. If you click on “Download” ( Highlighted in yellow), it will download a stable version i.e. 1.141.59 but if you click on “Alpha” version it will download the latest alpha version i.e. 4.0.0-alpha-6. This may not be the same when you are referring to this post. Anyway I will keep updating with the latest update as well.

When you click on “Download”, a zip file will be downloaded. Unzip it and you will find a .jar file inside.

It will be good if you can create a folder and put downloaded jar file inside. Do right click on Project -> New -> Folder -> Enter folder name.

You must need to add jar file to the project build path to use Selenium commands. Perform below steps:

Right-click on jar file -> Build Path -> Add to Build Path

You should see a new item named “Referenced Libraries” within project with jar file.

We will launch a chrome browser and load Google URL to it.

Right click on “src” -> New -> Class

Give package name (Optional) and class name.

I have explained launching a browser in detail here. If you face any issue feel free to email me or comment below.

If you have any doubt, feel free to comment below.If you like my posts, please like, comment, share and subscribe.#ThanksForReading

#HappyLearning

Uncategorized

Post navigation

Previous Post: Using Explicit Wait As WebDriverWait in Selenium WebDriver
Next Post: Postman Tutorial Part 16 – Introduction To Collections In Postman

Related Posts

Now You Can Minimize Browser in Selenium WebDriver Uncategorized
REST Assured Tutorial 64 – How to pass value from one API to Another API using TestNG – ITestContext Uncategorized
REST Assured Tutorial 40 – @JsonIgnoreProperties Annotation Of Jackson API – Exclude Field Of Pojo From Serialization Or Deserialization or Both Uncategorized
Selenium Code Snippets Uncategorized
Selenium Framework 5: Understand Keyword Driven Framework in Selenium Uncategorized
Create a Map From Excel Data in Java – Selenium – API Automation Uncategorized

Recent Posts

  • Getting Started with Selenium 4: What Is New and How to Upgrade from Selenium 3
  • Manual Testing
  • Baby Steps To Become Efficient Selenium-Java Automation Tester
  • Features of Selenium 4.0.0 Release – Java Binding
  • Part 1: Handling Drop-down Created Using SELECT Tag In Selenium

Recent Comments

No comments to show.

Archives

  • April 2026
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • April 2024
  • March 2024
  • February 2024
  • December 2023
  • October 2023
  • August 2023
  • November 2022
  • September 2022
  • August 2022
  • July 2022
  • May 2022
  • March 2022
  • October 2021
  • April 2021
  • March 2021
  • January 2021
  • December 2020
  • October 2020
  • September 2020
  • August 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • May 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • January 2018

Categories

  • Getting Started
  • Uncategorized

Copyright © 2026 Make Selenium Easy.

Powered by PressBook Masonry Dark