FirefoxDriverServiceCreateDefaultService Method (String)WebDriver
Creates a default instance of the FirefoxDriverService using a specified path to the Firefox driver executable.

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

public static FirefoxDriverService CreateDefaultService(
	string driverPath
)

Parameters

driverPath
Type: SystemString
The directory containing the Firefox driver executable.

Return Value

Type: FirefoxDriverService
A FirefoxDriverService using a random port.
See Also

Reference