When am trying to launch chrome browser using selenium it throws me error.
Am using this command in my code "selenium = new DefaultSelenium("localhost", 4444, "*chrome", "http://www.google.com/");
When am trying to launch chrome browser using selenium it throws me error.
Am using this command in my code "selenium = new DefaultSelenium("localhost", 4444, "*chrome", "http://www.google.com/");
f you want to launch Google Chrome, you will have to use something else than "*chrome".
Using Selenium RC in interactive mode, with something like this
$ java -jar selenium-server.jar -interactive and using the getNewBrowserSession command not correctly :
cmd=getNewBrowserSession I get the list of browsers is supports :
23:43:09.317 INFO - Got result: Failed to start new browser session: Browser not supported: (Did you forget to add a *?)
Supported browsers include: *firefox *mock *firefoxproxy *pifirefox *chrome *iexploreproxy *iexplore *firefox3 *safariproxy *googlechrome *konqueror *firefox2 *safari *piiexplore *firefoxchrome *opera *iehta *custom on session null So, I'm guessing you should be able to launch Google Chrome using "*googlechrome" instead of "*chrome".
-reference - sir pascal martin . :D