public void setUp(){
System.setProperty("webdriver.chrome.driver", "chromedriver.exe");
driver = new ChromeDriver();
driver.get("http://book.theautomatedtester.co.uk/chapter4");
}
错误:
启动 ChromeDriver 端口=14918 .\test\automation\proxy_launcher.cc(89):错误:值:app_launched 实际:1 预期:AUTOMATION_SUCCESS 即:0 等待来自浏览器进程的自动 ping 时出错 .\test\automation\proxy_launcher.cc(223):错误:值:automation()->GetBrowserWindowCount(&window_count) 实际:假 预期:真 .\test\automation\proxy_launcher.cc(244):错误:值:browser_proxy.get() 实际:假 预期:真 .\test\automation\proxy_launcher.cc(269):错误:值:WaitForBrowserProcessToQuit(TestTimeouts::action_max_timeout_ms(), &exit_code) 实际:假 预期:真 .\test\automation\proxy_launcher.cc(270):错误:值:exit_code 实际:-1 预期:0