How do you set WebDriver in Java on Eclipse?

Snytax to set the path of driver :

System.setProperty(“webdriver.chrome.driver ” , “C:\\Program Files\\chromedriver.exe”);
ChromeDriver driver=new ChromeDriver();

Leave a Reply