Friday, 7 February 2014

Opening empty browser using webdriver

If we want to open the Firefox Window, We need to import the Webdriver Jar files to out project class path.

Where to download Selenium Webdriver Jar files ?

Download the Selenium Jar Files from the following link http://docs.seleniumhq.org/download/

How to add the Jar Files to the Project Class Path?

Open the Eclipse -> Create a project -> Right Click on Project and click on Project Properties -> Select Java Build Path -> Navigate to Libraries tab -> Click on Add External jars and select the location of downloaded selenium jar files.

How to open the Empty Firefox Browser ?



How to open the Empty Chrome Browser ?

For opening the Chrome Browser , we need download "Chrome.exe" and set the property. Download "Chrome.exe" from the following link http://chromedriver.storage.googleapis.com/index.html?path=2.7/
 

How to open the Empty IE Browser ?

For opening the IE Browser , we need download "IEDriverServer.exe" and set the property. Download "IEDriverServer.exe" from the following link http://code.google.com/p/selenium/downloads/list

No comments:

Post a Comment