Table of Contents

Class DevToolsDomains

Namespace
OpenQA.Selenium.DevTools
Assembly
WebDriver.dll

Interface providing version-independent implementations of operations available using the DevTools Protocol.

public abstract class DevToolsDomains
Inheritance
DevToolsDomains
Derived
Inherited Members

Properties

JavaScript

Gets the object used for manipulating the browser's JavaScript execution.

public abstract JavaScript JavaScript { get; }

Property Value

JavaScript

Log

Gets the object used for manipulating the browser's logs.

public abstract Log Log { get; }

Property Value

Log

Network

Gets the object used for manipulating network information in the browser.

public abstract Network Network { get; }

Property Value

Network

Target

Gets the object used for manipulating DevTools Protocol targets.

public abstract Target Target { get; }

Property Value

Target

VersionSpecificDomains

Gets the version-specific domains for the DevTools session. This value must be cast to a version specific type to be at all useful.

public abstract DevToolsSessionDomains VersionSpecificDomains { get; }

Property Value

DevToolsSessionDomains

Methods

InitializeDomains(int, DevToolsSession)

Initializes the supplied DevTools session's domains for the specified browser version.

public static DevToolsDomains InitializeDomains(int protocolVersion, DevToolsSession session)

Parameters

protocolVersion int

The version of the DevTools Protocol to use.

session DevToolsSession

The DevToolsSession for which to initialiize the domains.

Returns

DevToolsDomains

The DevToolsDomains object containing the version-specific domains.

InitializeDomains(int, DevToolsSession, int)

Initializes the supplied DevTools session's domains for the specified browser version within the specified number of versions.

public static DevToolsDomains InitializeDomains(int protocolVersion, DevToolsSession session, int versionRange)

Parameters

protocolVersion int

The version of the DevTools Protocol to use.

session DevToolsSession

The DevToolsSession for which to initialiize the domains.

versionRange int

The range of versions within which to match the provided version number. Defaults to 5 versions.

Returns

DevToolsDomains

The DevToolsDomains object containing the version-specific domains.