How To Launch Chrome Browser in Selenium Webdriver using java

Launching Chrome Browser in Selenium Web driver with java
Before launching the chrome browser in selenium we have to download and set some required setup to go further ..

Step-1 first Download the latest "Chromedriver.exe" from the official website .and save it to the your location.

Step-2 Set the property 

System.setProperty(“”, “chromeDriver.exe path”);


System.setProperty("", "/lib/chromeDriver/chromedriver.exe");

Selenium code to launch chrome browser 
To launch the chrome browser by using selenium web driver follow the below code


import org.openqa.selenium.WebDriver; 

public class TestChrome
public static void main(String[] args)
System.setProperty("", "D:/Sandeep/Soft/chromedriver.exe");
WebDriver driver=new ChromeDriver();

Hope !!! The above code for "Launching chrome browser in Selenium using webdriver" helpful for you..
QA acharya

Tags: Launching Chrome driver in selenium using webdriver , how to launch chrome driver in selenium , How To Launch Chrome driver in selenium using java , 

Related Post:
How To Launch Chrome Browser in Selenium Webdriver