I am trying to run my Selenium tests against Chrome. When I initialize driver locally:
@driver = Selenium::WebDriver.for( :chrome )
Everything
Okay, guys. With the help I could find the answer. Check it out.
That is how you set up the driver on your local machine:
@driver = Selenium::WebDriver.for(:remote, :chrome :url => 'http://' + SELENIUM_HOST + port + webdriver_hub, :desired_capabilities => browser)
where
browser = ':chrome'
port = ':4444'
webdriver_hub = '/wd/hub'
On the remote machine running the server would be something like this
java -jar selenium-server-standalone-2.2.0.jar -Dwebdriver.chrome.driver="path/to/where/you/put/chromedriver.exe"
After run your tests from the local machine.
Best of luck!