Monday, June 9, 2014

setProperty path for Chrome Driver

If you wanna change the Firefox driver to Chrome, you must set the system Property and tell the coder where to find the need chromedriver.
pls take notes that : you must point out the chromedriver.exe, not your system installed Chrome exe .

for example

System.setProperty("webdriver.chrome.driver","/path/chromedriver_win32/chromedriver.exe");

No comments:

Post a Comment