使用下面的代码尝试访问google chrome便携式浏览器。无法使用Selenium打开Google Chrome Portable
System.setProperty("webdriver.chrome.driver","C:\\Selenium\\Browsers\\GoogleChromePortable\\GoogleChromePortable.exe");
driver=new ChromeDriver();
浏览器打开,但立刻与下面的异常
异常关闭:
org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.
谁能帮助我如何与硒的webdriver访问谷歌的Chrome浏览器移植。
司机的.exe会像chromedriver.exe – theRoot