第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

啟動(dòng)谷歌瀏覽器報(bào)錯(cuò)

? ? ? WebDriver driver ;

? ? ? ? ? System.setProperty("Webdriver.chrom.driver","C:\\Program Files\\chromedriver_win32\\chromedriver.exe");

? ? ? ? ? driver = new ChromeDriver();

? ? ? ? ? String testUrl="http://www.baidu.com";

? ? ? ? ? driver.get("testUrl");

? ? ? ? ? driver.quit();

Exception in thread "main" java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.chrome.driver system property; for more information, see https://github.com/SeleniumHQ/selenium/wiki/ChromeDriver. The latest version can be downloaded from http://chromedriver.storage.googleapis.com/index.html

at com.google.common.base.Preconditions.checkState(Preconditions.java:197)

at org.openqa.selenium.remote.service.DriverService.findExecutable(DriverService.java:109)

at org.openqa.selenium.chrome.ChromeDriverService.access$0(ChromeDriverService.java:1)

at org.openqa.selenium.chrome.ChromeDriverService$Builder.findDefaultExecutable(ChromeDriverService.java:137)

at org.openqa.selenium.remote.service.DriverService$Builder.build(DriverService.java:290)

at org.openqa.selenium.chrome.ChromeDriverService.createDefaultService(ChromeDriverService.java:88)

at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:116)

at commSelenium.Demoselenium1.main(Demoselenium1.java:11)


正在回答

2 回答

我也是這樣樓主解決了嘛

0 回復(fù) 有任何疑惑可以回復(fù)我~

可能是driver的版本問(wèn)題,換個(gè)別的版本試一下

0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消

啟動(dòng)谷歌瀏覽器報(bào)錯(cuò)

我要回答 關(guān)注問(wèn)題
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)