Selenium WebDriver Java Framework Course Limited Time Offer for $20

Selenium WebDriver Java Framework Course Limited Time Offer for $20

 

Print

How to run the tests in google chrome using selenium webdriver

We need to use Chrome Driver.

In most cases, we need to add chromedriver.exe in the bin folder of the test application, so that chromedriver can invoke Chrome browser with WebDriver. 

WebDriver webDriver;    
webDriver=new ChromeDriver();  
String URL="http://www.seleniummaster.com";   
webDriver.get(URL);  //Navigate to URL