Reputation: 69
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
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