-1

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?

SiKing
  • 10,003
  • 10
  • 39
  • 90
hasan
  • 966
  • 2
  • 13
  • 40

1 Answers1

1

instead of *chrome use *googlechrome.

Paras
  • 3,197
  • 2
  • 20
  • 30