Java’da Selenium browser bağlantısı

KATEGORİ

System.setProperty(“webdriver.chrome.driver”,”chrome_driver_path”);

try {

WebDriver webdriver = new ChromeDriver();

webdriver.navigate().to(“http://www.google.com”);

} catch (Exception e) {

e.printStackTrace();

}