浏览器正在打开但Not secure是表示标题和“禁用扩展”被示出。之后,chrome.exe停止工作。 铬verison为57.0和硒jar文件3.0.1虽然从硒错误打开Chrome浏览器存在的
public static void main(String[] args) throws InterruptedException
{
System.setProperty("webdriver.gecko.driver","E:\\Software\\geckodriver-v0.14.0-win64\\geckodriver.exe");
//WebDriver wd= new FirefoxDriver();
System.setProperty("webdriver.chrome.driver","E:\\Software\\chromedriver_win32_V2.9\\chromedriver.exe");
ChromeOptions options = new ChromeOptions();
options.addArguments("--disable-extensions");
WebDriver wd= new ChromeDriver();
wd.get("http://automationpractice.com/index.php");
}
什么是你所观察的错误? – DebanjanB
你能用stacktrace更新问题吗? – DebanjanB