DriverService FindDriverServiceExecutable Method WebDriver
Finds the specified driver service executable.

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

protected static string FindDriverServiceExecutable(
	string executableName,
	Uri downloadUrl
)

Parameters

executableName
Type: OnlineSystem String
The file name of the executable to find.
downloadUrl
Type: OnlineSystem Uri
A URL at which the driver service executable may be downloaded.

Return Value

The directory containing the driver service executable.
Exceptions

ExceptionCondition
OpenQA.Selenium DriverServiceNotFoundException If the specified driver service executable does not exist in the current directory or in a directory on the system path.
See Also