



Set the System Property for “” with the geckodriver.exe path – tProperty(“”,”geckodriver.As we know that Selenium is a suite of tools to automate browsers.Make sure to download the right driver file based on your platform and OS version. Download geckodriver.exe from GeckoDriver Github Release Page.The following steps are required to launch the firefox browser. Now, we will create our first selenium project, in which we will just open the Firefox browser and launch a website. Creating the first Selenium WebDriver project You can verify the same in the “Referenced Libraries” section under your project in the “Package Explorer” section on the left. The selected libraries will appear, click OK to add these libraries to your project. Make sure to add both the libraries-selenium-java-2.39.0.jar and selenium-java-2.39.0-srcs.jar along with the libraries present in the libs folder(selenium-2.39.0\libs). Now browse to the location where selenium libraries are placed (library folder Step#3). In this tab click on the “Add External Jars.” button. Click on “Java Build Path” on the left and then click on the Libraries tab on the right. A “Properties for ” dialog box will appear. Right Click your project on the left and click on properties. This step is required for the Selenium installation in Eclipse. Test, your Test.java class will get created. Inside this package create a new class and name it e.g.Under this we need to create a package-Right Click src->New->Package (Basically these packages are used to group together related classes). Now you will see an src folder under your project.

Now create a new project- File->New->Project…->Java->Java Project.Set your workspace to any location preferably other than C:(a workspace is a physical location where we store our project or group of related projects).Creating a project and configuring Selenium jars. Unzip the package and place it on any directory as a library folder.
