How to run the test through local Desktop Browser driver in Java?

How to run the test through local Desktop Browser driver in Java?

Hi Joe,

You can download the browser driver using a specific website like I am using for the chrome web driver ChromeDriver - WebDriver for Chrome - Downloads Need 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();