[英]selenium is not locating chromedriver.exe
I have added necessary jars. 我添加了必要的罐子。 My code is: 我的代码是:
System.setProperty("webdriver.chrome.driver", "E:/Felight/Eclipse/chromedriver.exe");
WebDriver driver =new ChromeDriver();
the above code is not executing.shows "unknown source" 上面的代码未执行。显示“未知来源”
This links will help you: 该链接将帮助您:
http://code.google.com/p/selenium/wiki/ChromeDriver http://code.google.com/p/selenium/wiki/ChromeDriver
Please download the respective driver exe and follow the instructions. 请下载相应的驱动程序exe并按照说明进行操作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.