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

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

public static FirefoxDriverService CreateDefaultService(
	string driverPath,
	string driverExecutableFileName
)

Parameters

driverPath
Type: SystemString
The directory containing the Firefox driver executable.
driverExecutableFileName
Type: SystemString
The name of th Firefox driver executable file.

Return Value

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

Reference