An NDoc Documented Class Library

DefaultSelenium Constructor (String, Int32, String, String)

Uses a CommandBridgeClient, specifying a server host/port, a command to launch the browser, and a starting URL for the browser.

browserString may be any one of the following:

public DefaultSelenium(
   string serverHost,
   int serverPort,
   string browserString,
   string browserURL
);

Parameters

serverHost
the host name on which the Selenium Server resides
serverPort
the port on which the Selenium Server is listening
browserString
the command string used to launch the browser, e.g. "*firefox", "*iexplore" or "c:\\program files\\internet explorer\\iexplore.exe"
browserURL
the starting URL including just a domain name. We'll start the browser pointing at the Selenium resources on this URL, e.g. "http://www.google.com" would send the browser to "http://www.google.com/selenium-server/RemoteRunner.html"

See Also

DefaultSelenium Class | Selenium Namespace | DefaultSelenium Constructor Overload List