0
java -Dwebdriver.chrome.driver=C:\xampp\htdocs\seleniumtest\chromedriver.exe -jar selenium-server-standalone-2.53.1.jar

but im getting

The filename, directory name, or volume label syntax is incorrect. 

can someone help me through this

Harish
  • 29
  • 7

1 Answers1

1

try with double slash instead of single.

java -Dwebdriver.chrome.driver=C:\\xampp\\htdocs\\seleniumtest\\chromedriver.exe -jar selenium-server-standalone-2.53.1.jar

or with forward slash like,

java -Dwebdriver.chrome.driver=C:/xampp/htdocs/seleniumtest/chromedriver.exe -jar selenium-server-standalone-2.53.1.jar
Murthi
  • 5,299
  • 1
  • 10
  • 15