打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
Exception in thread "main" java.lang.IllegalStateException:

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 .

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
Selenium WebDriver 环境搭建和错误调试_chromedriver_win32必须下载否则无法测试chrome
java selenium webdriver处理JS操作窗口滚动条
selenium webdriver 环境搭建–java
Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
selenium之操作ChromeDriver
C#使用Selenium网页自动化
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服