Running Selenium 1 locally (not through grid) all the supported browser strings are prefixed by *. Assuming Selenium-Server has already been started
return new DefaultSelenium("localhost", 4444, "*firefox", "http://www.google.com");
Is this just a convention, or does it have some functional purpose? Note that we executing with an unsupported browser type is a nice way to get a list of the supported browsers.
return new DefaultSelenium("localhost", 4444, "firefox", "http://www.google.com");
When you add an asterisk in front of the browser name, you are telling selenium to treat it as a “special browser setting”, which will allow selenium to automatically configure it if needed (for example disable pop-up blocking). It is recommended to use this option. For further details see here and here in selenium documentation.
from the same links:
and