selenium standalone server with Google Chrome

1.3k views Asked by At

I want to run some test using selenium standalone server on Google Chrome but it runs Firefox instead when I execute this code:

java -Dwebdriver.chrome.driver="webdrive\chromedriver.exe" -jar ./selenium-server-2.42.2-withFarsi.jar -htmlSuite "*chrome" http://www.google.com C:\Users\...\TestSuit.html  temp.html

after this it runs Firefox and starts running test as usual.

What can I do?

1

There are 1 answers

0
Paras On BEST ANSWER

instead of *chrome use *googlechrome.