使用下面的代碼嘗試訪問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