Search On Google

Wednesday, February 13, 2019

How to install selenium in windows

How to install selenium webdriver with java?

You need 4 things to donload and install.
1.JDK
2.eclipse
3.selenium jar files
4.Browser driver exe file.

1.How to install JDK:-
Download JDK 1.8 version from below website 32 or 64 bit as your system need.
https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

Install JDK and set path in environment variable.

2.Download eclipse IDE java editor from below link.
https://www.eclipse.org/downloads/packages/release/luna/sr2/eclipse-ide-java-developers
and then Unzip file and  open eclipse.exe
when open eclipse editor then create a simple java project.


3. Selenium webdriver  import in eclipse's java project.
Selenium webdriver is just jar files you should download from below link.
https://www.seleniumhq.org/download/
Download java version driver.
You have already created a simple java project in eclipse. Now go to the project build-path and add
exterlal jar libraries. And select your webdriver jar files.
Now webdriver import done.


4. Browser webdriver exe file installation:--
You need to download this file from below link . Here I am goin to give link
of chrome browser exe because we use chrome browser in this tutorial.
http://chromedriver.chromium.org/downloads

No comments:

Post a Comment

About Me

My photo
Mumbai, Maharashtra, India