Class FirefoxDriverServer
Provides methods for launching Firefox with the WebDriver extension installed.
public class FirefoxDriverServer : ICommandServer, IDisposable
- Inheritance
-
FirefoxDriverServer
- Implements
- Inherited Members
Constructors
FirefoxDriverServer(FirefoxBinary, FirefoxProfile, string)
Initializes a new instance of the FirefoxDriverServer class.
public FirefoxDriverServer(FirefoxBinary binary, FirefoxProfile profile, string host)
Parameters
binary
FirefoxBinaryThe FirefoxBinary on which to make the connection.
profile
FirefoxProfileThe FirefoxProfile creating the connection.
host
stringThe name of the host on which to connect to the Firefox extension (usually "localhost").
Properties
ExtensionUri
Gets the System.Uri for communicating with this server.
public Uri ExtensionUri { get; }
Property Value
- Uri
Methods
Dispose()
Releases all resources used by the FirefoxDriverServer.
public void Dispose()
Dispose(bool)
Releases the unmanaged resources used by the FirefoxDriverServer and optionally releases the managed resources.
protected virtual void Dispose(bool disposing)
Parameters
Start()
Starts the server.
public void Start()