import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
public class Main {
/**
* @param args
*/
public static void main(String[] args) {
System.setProperty("webdriver.chrome.driver", "D:\\chromedriver_win_20.0.1133.0\\chromedriver.exe");
WebDriver driver = new ChromeDriver();
driver.get("www.google.com");
driver.close();
}
}
Chrome 浏览器:15.0.874.5
Chrome 驱动程序:chromedriver_win_20.0.1133.0
浏览器打开时显示空白页并引发以下错误
[0704/103822:ERROR:ipc_channel_win.cc(129)] pipe error: 109
[0704/103822:ERROR:automation_proxy.cc(367)] Channel error in AutomationProxy.
.\test\automation\proxy_launcher.cc(298): error: Value of: browser.get() Actual: false`enter code here` Expected: true
我们怎样才能避免这个问题?