Assume that you are running stand alone Selenium server and you would like to run tests with Chrome browser intead of Firefox or anyother driver Here are the steps to do so
- Download chromedriver from https://sites.google.com/a/chromium.org/chromedriver/downloads
- Move to a place where it can be executable and remember the path of the file Ex: /User/abc/chromedriver
- Start your chrome browser with Selenium server. Ex:
java -jar -Dwebdriver.chrome.driver=/Users/abc/chromedriver selenium-server-staalone-3.0.1.jar
Here is another reference: http://aboutcode.net/2013/12/02/automating-chrome-on-windows-with-javascript-using-selenium-webdriverjs.html