Class DevToolsDomains
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
Log
Gets the object used for manipulating the browser's logs.
public abstract Log Log { get; }
Property Value
Network
Gets the object used for manipulating network information in the browser.
public abstract Network Network { get; }
Property Value
Target
Gets the object used for manipulating DevTools Protocol targets.
public abstract Target Target { get; }
Property Value
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
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
intThe version of the DevTools Protocol to use.
session
DevToolsSessionThe 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
intThe version of the DevTools Protocol to use.
session
DevToolsSessionThe DevToolsSession for which to initialiize the domains.
versionRange
intThe 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.