To get set up, first download the appropriate prebuilt server. Make sure the server can be located on your PATH or specify its location via the webdriver.chrome.driver system property. Finally, all you need to do is create a new ChromeDriver instance:
I just followed this step to create the environment variable "webdriver.chrome.driver" with value "%HOMEPATH%\Local Settings\Application Data\Google\Chrome\Application\chrome.exe", and I can call System.getEnv("webdriver.chrome.driver") to retrieve it, but it fails in the following step:
String exePath = System.getProperty(CHROME_DRIVER_EXE_PROPERTY, defaultPath) in ChromeDriverService.
message:
The path to the chromedriver executable must be set by the webdriver.chrome.driver system property; for more information, see http://code.google.com/p/selenium/wiki/ChromeDriver. The latest version can be downloaded from http://code.google.com/p/chromium/downloads/list
Any idea?
Thanks,
-Shen
--
You received this message because you are subscribed to the Google Groups "webdriver" group.
To post to this group, send email to webd...@googlegroups.com.
To unsubscribe from this group, send email to webdriver+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/webdriver?hl=en.
--