Exception in thread "main" java.lang.IllegalStateException: The path to the driver executable must be set by thewebdriver.chrome.driver system property; for more information, seehttp://code.google.com/p/selenium/wiki/ChromeDriver. The latest version can bedownloaded from http://chromedriver.storage.googleapis.com/index.html
atcom.google.common.base.Preconditions.checkState(Preconditions.java:197)
atorg.openqa.selenium.remote.service.DriverService.findExecutable(DriverService.java:110)
atorg.openqa.selenium.chrome.ChromeDriverService.access$000(ChromeDriverService.java:32)
atorg.openqa.selenium.chrome.ChromeDriverService$Builder.findDefaultExecutable(ChromeDriverService.java:118)
atorg.openqa.selenium.remote.service.DriverService$Builder.build(DriverService.java:291)
atorg.openqa.selenium.chrome.ChromeDriverService.createDefaultService(ChromeDriverService.java:82)
atorg.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:117)
atcom.ChormeDriverTest.main(ChormeDriverTest.java:13)
Conclusion:Chrome-driver not found ! You needed be download chromedriver.exe .
联系客服