user3174553
user3174553

Reputation: 69

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"

Upvotes: 1

Views: 108

Answers (1)

Innovation
Innovation

Reputation: 1524

This links will help you:

http://code.google.com/p/selenium/wiki/ChromeDriver

Please download the respective driver exe and follow the instructions.

Upvotes: 1

Related Questions