首页 > 代码库 > webdriver调用chrome浏览器

webdriver调用chrome浏览器

System.setProperty("webdriver.chrome.driver", "D:/webDriver/chromedriver.exe");
System.setProperty("webdriver.chrome.bin", "C:/Program Files (x86)/Google/Chrome/Application/chrome.exe");

driver =new ChromeDriver();

webdriver调用chrome浏览器