Class EdgeDriverService
Exposes the service provided by the native MicrosoftWebDriver executable.
public sealed class EdgeDriverService : DriverService, ICommandServer, IDisposable
- Inheritance
-
EdgeDriverService
- Implements
- Inherited Members
Methods
CreateDefaultService()
Creates a default instance of the EdgeDriverService.
public static EdgeDriverService CreateDefaultService()
Returns
- EdgeDriverService
A EdgeDriverService that implements default settings.
CreateDefaultService(string)
Creates a default instance of the EdgeDriverService using a specified path to the EdgeDriver executable.
public static EdgeDriverService CreateDefaultService(string driverPath)
Parameters
driverPath
stringThe directory containing the EdgeDriver executable.
Returns
- EdgeDriverService
A EdgeDriverService using a random port.
CreateDefaultService(string, string)
Creates a default instance of the EdgeDriverService using a specified path to the EdgeDriver executable with the given name.
public static EdgeDriverService CreateDefaultService(string driverPath, string driverExecutableFileName)
Parameters
driverPath
stringThe directory containing the EdgeDriver executable.
driverExecutableFileName
stringThe name of the EdgeDriver executable file.
Returns
- EdgeDriverService
A EdgeDriverService using a random port.
CreateDefaultService(string, string, int)
Creates a default instance of the EdgeDriverService using a specified path to the EdgeDriver executable with the given name and listening port.
public static EdgeDriverService CreateDefaultService(string driverPath, string driverExecutableFileName, int port)
Parameters
driverPath
stringThe directory containing the EdgeDriver executable.
driverExecutableFileName
stringThe name of the EdgeDriver executable file
port
intThe port number on which the driver will listen