Table of Contents

Class DOMDebuggerAdapter

Namespace
OpenQA.Selenium.DevTools.V131.DOMDebugger
Assembly
WebDriver.dll

Represents an adapter for the DOMDebugger domain to simplify the command interface.

public class DOMDebuggerAdapter
Inheritance
DOMDebuggerAdapter
Inherited Members

Constructors

DOMDebuggerAdapter(IDevToolsSession)

Initializes a new instance of the DOMDebuggerAdapter class.

public DOMDebuggerAdapter(IDevToolsSession session)

Parameters

session IDevToolsSession

The IDevToolsSession to be used with this adapter.

Properties

Session

Gets the DevToolsSession associated with the adapter.

public IDevToolsSession Session { get; }

Property Value

IDevToolsSession

Methods

GetEventListeners(GetEventListenersCommandSettings, CancellationToken, int?, bool)

getEventListeners

public Task<GetEventListenersCommandResponse> GetEventListeners(GetEventListenersCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetEventListenersCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetEventListenersCommandResponse>

RemoveDOMBreakpoint(RemoveDOMBreakpointCommandSettings, CancellationToken, int?, bool)

removeDOMBreakpoint

public Task<RemoveDOMBreakpointCommandResponse> RemoveDOMBreakpoint(RemoveDOMBreakpointCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command RemoveDOMBreakpointCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<RemoveDOMBreakpointCommandResponse>

RemoveEventListenerBreakpoint(RemoveEventListenerBreakpointCommandSettings, CancellationToken, int?, bool)

removeEventListenerBreakpoint

public Task<RemoveEventListenerBreakpointCommandResponse> RemoveEventListenerBreakpoint(RemoveEventListenerBreakpointCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command RemoveEventListenerBreakpointCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<RemoveEventListenerBreakpointCommandResponse>

RemoveInstrumentationBreakpoint(RemoveInstrumentationBreakpointCommandSettings, CancellationToken, int?, bool)

removeInstrumentationBreakpoint

public Task<RemoveInstrumentationBreakpointCommandResponse> RemoveInstrumentationBreakpoint(RemoveInstrumentationBreakpointCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command RemoveInstrumentationBreakpointCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<RemoveInstrumentationBreakpointCommandResponse>

RemoveXHRBreakpoint(RemoveXHRBreakpointCommandSettings, CancellationToken, int?, bool)

removeXHRBreakpoint

public Task<RemoveXHRBreakpointCommandResponse> RemoveXHRBreakpoint(RemoveXHRBreakpointCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command RemoveXHRBreakpointCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<RemoveXHRBreakpointCommandResponse>

SetBreakOnCSPViolation(SetBreakOnCSPViolationCommandSettings, CancellationToken, int?, bool)

setBreakOnCSPViolation

public Task<SetBreakOnCSPViolationCommandResponse> SetBreakOnCSPViolation(SetBreakOnCSPViolationCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command SetBreakOnCSPViolationCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<SetBreakOnCSPViolationCommandResponse>

SetDOMBreakpoint(SetDOMBreakpointCommandSettings, CancellationToken, int?, bool)

setDOMBreakpoint

public Task<SetDOMBreakpointCommandResponse> SetDOMBreakpoint(SetDOMBreakpointCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command SetDOMBreakpointCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<SetDOMBreakpointCommandResponse>

SetEventListenerBreakpoint(SetEventListenerBreakpointCommandSettings, CancellationToken, int?, bool)

setEventListenerBreakpoint

public Task<SetEventListenerBreakpointCommandResponse> SetEventListenerBreakpoint(SetEventListenerBreakpointCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command SetEventListenerBreakpointCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<SetEventListenerBreakpointCommandResponse>

SetInstrumentationBreakpoint(SetInstrumentationBreakpointCommandSettings, CancellationToken, int?, bool)

setInstrumentationBreakpoint

public Task<SetInstrumentationBreakpointCommandResponse> SetInstrumentationBreakpoint(SetInstrumentationBreakpointCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command SetInstrumentationBreakpointCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<SetInstrumentationBreakpointCommandResponse>

SetXHRBreakpoint(SetXHRBreakpointCommandSettings, CancellationToken, int?, bool)

setXHRBreakpoint

public Task<SetXHRBreakpointCommandResponse> SetXHRBreakpoint(SetXHRBreakpointCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command SetXHRBreakpointCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<SetXHRBreakpointCommandResponse>