Monday, August 13, 2018

Setup Selenium Webdriver

Step 1:Create Spring Project

follow steps mentioned in below page to create project

https://sagarthakare1.wordpress.com/2015/04/23/spring-hello-world-example-with-maven/

Step 2:Download Jar

Download selenium webdriver from below link for java

This download comes as a ZIP file named "selenium-2.25.0.zip". For simplicity, extract the contents of this ZIP file on your C drive so that you would have the directory "C:\selenium-2.25.0\". This directory contains all the JAR files that we would later import on Eclipse.

http://docs.seleniumhq.org/download/

Step 3:Right-click on myproject and select Properties

Step 4:On the Properties dialog, click on "Java Build Path".

Step 5:Click on the Libraries tab, and then click "Add External JARs.."

Step 6:Navigate to C:\selenium-2.25.0\ (or any other location where you saved the extracted contents of "selenium-2.25.0.zip" in step

Add all the JAR files inside and outside the "libs" folder.

Step 7:Finally, click OK and we are done importing Selenium libraries into our project.

You are ready to use selenium webdriver

No comments:

Post a Comment

How to check whether operating system is 64 bit or 32bit?

What is 32 and 64 bit operating system? The terms 32-bit and 64-bit refer to the way a computer's processor that is CPU, handles info...