FirefoxDriverService ClassWebDriver
Exposes the service provided by the native FirefoxDriver executable.
Inheritance Hierarchy

SystemObject
  OpenQA.SeleniumDriverService
    OpenQA.Selenium.FirefoxFirefoxDriverService

Namespace: OpenQA.Selenium.Firefox
Assembly: WebDriver (in WebDriver.dll) Version: 3.1.0
Syntax

public sealed class FirefoxDriverService : DriverService

The FirefoxDriverService type exposes the following members.

Properties

  NameDescription
Public propertyBrowserCommunicationPort
Gets or sets the port used by the driver executable to communicate with the browser.
Public propertyConnectToRunningBrowser
Gets or sets a value indicating whether to connect to an already-running instance of Firefox.
Public propertyFirefoxBinaryPath
Gets or sets the location of the Firefox binary executable.
Public propertyHideCommandPromptWindow
Gets or sets a value indicating whether the command prompt window of the service should be hidden.
(Inherited from DriverService.)
Public propertyHost
Gets or sets the value of the IP address of the host adapter on which the service should listen for connections.
Public propertyIsRunning
Gets a value indicating whether the service is running.
(Inherited from DriverService.)
Public propertyPort
Gets or sets the port of the service.
(Inherited from DriverService.)
Public propertyProcessId
Gets the process ID of the running driver service executable. Returns 0 if the process is not running.
(Inherited from DriverService.)
Public propertyServiceUrl
Gets the Uri of the service.
(Inherited from DriverService.)
Public propertySuppressInitialDiagnosticInformation
Gets or sets a value indicating whether the initial diagnostic information is suppressed when starting the driver server executable. Defaults to , meaning diagnostic information should be shown by the driver server executable.
(Inherited from DriverService.)
Top
Methods

  NameDescription
Public methodStatic memberCreateDefaultService
Creates a default instance of the FirefoxDriverService.
Public methodStatic memberCreateDefaultService(String)
Creates a default instance of the FirefoxDriverService using a specified path to the Firefox driver executable.
Public methodStatic memberCreateDefaultService(String, String)
Creates a default instance of the FirefoxDriverService using a specified path to the Firefox driver executable with the given name.
Public methodDispose
Releases all resources associated with this DriverService.
(Inherited from DriverService.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStart
Starts the DriverService.
(Inherited from DriverService.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
See Also

Reference