Table of Contents

Class EdgeDriverService

Namespace
OpenQA.Selenium.Edge
Assembly
WebDriver.dll

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 string

The 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 string

The directory containing the EdgeDriver executable.

driverExecutableFileName string

The 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 string

The directory containing the EdgeDriver executable.

driverExecutableFileName string

The name of the EdgeDriver executable file

port int

The port number on which the driver will listen

Returns

EdgeDriverService