How to run the test through the local chrome web driver in java?

How can I run the test in Java using the local Chrome web driver?

Hey Jacqueline,

Users have to download the chrome webdriver using ChromeDriver - WebDriver for Chrome - Downloads. Further, the user needs to set the property in the script to give path of the driver like System.setProperty("webdriver.chrome.driver","D:\\web driver\\chromedriver.exe");

Initialize the driver instance like WebDriver driver= new ChromeDriver();