Class FirefoxDriverCommandExecutor
Provides a way of executing Commands using the FirefoxDriver.
public class FirefoxDriverCommandExecutor : ICommandExecutor
- Inheritance
-
FirefoxDriverCommandExecutor
- Implements
- Inherited Members
Constructors
FirefoxDriverCommandExecutor(FirefoxBinary, FirefoxProfile, string, TimeSpan)
Initializes a new instance of the FirefoxDriverCommandExecutor class.
public FirefoxDriverCommandExecutor(FirefoxBinary binary, FirefoxProfile profile, string host, TimeSpan commandTimeout)
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").
commandTimeout
TimeSpanThe maximum amount of time to wait for each command.
Properties
CommandInfoRepository
Gets the repository of objects containin information about commands.
public CommandInfoRepository CommandInfoRepository { get; }
Property Value
Methods
Execute(Command)
Executes a command
public Response Execute(Command commandToExecute)
Parameters
commandToExecute
CommandThe command you wish to execute
Returns
- Response
A response from the browser