Camme/webdriverjs — Issue #5: Failed with chrome
Author: baechul
Created: 2011-11-10 18:30:27+00:00
State: open

var client = webdriverjs.remote({
host: "localhost",
port: 9001,
desiredCapabilities:{browserName: "chrome"}
});

If I change to firefox or remove the desiredCapabilities line, it works fine. I have a chrome installed on OSX 10.6.

[10:28:05]: COMMAND	POST	"/wd/hub/session"
[10:28:05]: DATA	{"desiredCapabilities":{"browserName":"chrome","version":"","javascriptEnabled":true,"platform":"ANY"},"sessionId":null}
[10:28:05]: COULDNT GET A SESSION ID
[10:28:05]: ERROR	UnknownError	An unknown server-side error occurred while processing the command.
[10:28:05]:	{"sessionId":"","status":13,"value":{"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","localizedMessage":"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","cause":null,"class":"java.lang.IllegalStateException","hCode":1700675012,"stackTrace":[{"fileName":"Preconditions.java","class":"java.lang.StackTraceElement","lineNumber":172,"className":"com.google.common.base.Preconditions","nativeMethod":false,"methodName":"checkState","hCode":-1301733689},{"fileName":"ChromeDriverService.java","class":"java.lang.StackTraceElement","lineNumber":85