Table of Contents

Class FirefoxDriverCommandExecutor

Namespace
OpenQA.Selenium.Firefox
Assembly
WebDriver.dll

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 FirefoxBinary

The FirefoxBinary on which to make the connection.

profile FirefoxProfile

The FirefoxProfile creating the connection.

host string

The name of the host on which to connect to the Firefox extension (usually "localhost").

commandTimeout TimeSpan

The 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

CommandInfoRepository

Methods

Execute(Command)

Executes a command

public Response Execute(Command commandToExecute)

Parameters

commandToExecute Command

The command you wish to execute

Returns

Response

A response from the browser