Table of Contents

Class EdgeDriverService

Namespace
OpenQA.Selenium.Edge
Assembly
WebDriver.dll

Exposes the service provided by the native WebDriver executable.

public sealed class EdgeDriverService : ChromiumDriverService, ICommandServer, IDisposable
Inheritance
EdgeDriverService
Implements
Inherited Members

Properties

UseVerboseLogging

Gets or sets a value indicating whether the service should use verbose logging.

[Obsolete("Use EnableVerboseLogging")]
public bool UseVerboseLogging { get; set; }

Property Value

bool

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

An 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.

GetDefaultDriverOptions()

The browser options instance that corresponds to the driver service

protected override DriverOptions GetDefaultDriverOptions()

Returns

DriverOptions