Tag

Selenium Webdriver Archives - Custom Web Application Developers in Bromley, London

Installing ChromeDriver for WebDriver – For the Techies (Java)

By | Uncategorized | No Comments

If your using Webdriver to automate your web testing you’ll already know what a great tool it is.

This is a quick note on installing ChromeDriver for WebDriver (to test using the Chrome Browser).

1. get the latest version of chrome driver from this url http://chromedriver.storage.googleapis.com/index.html

2. unzip this and place it whenever you want

3. next in your java code tell it where to find the unzipped file (replace ‘path goes here’ with your location). And thats it job done 🙂

System.setProperty(“webdriver.chrome.driver”,     “/path goes here/chromedriver”); 

driver = new ChromeDriver(); 

 

I highly recommend installing ChromeDriver for WebDriver , especially if your only using one type of browser for your testing. Hopefully you found this useful.