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();
时间: 2024-10-10 17:18:59
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();