Class DOMDebuggerAdapter
- Namespace
- OpenQA.Selenium.DevTools.V141.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
- sessionIDevToolsSession
- The IDevToolsSession to be used with this adapter. 
Exceptions
- ArgumentNullException
- If - sessionis null.
Properties
Session
Gets the DevToolsSession associated with the adapter.
public IDevToolsSession Session { get; }Property Value
Methods
GetEventListeners(GetEventListenersCommandSettings, CancellationToken, int?, bool)
getEventListeners
public Task<GetEventListenersCommandResponse> GetEventListeners(GetEventListenersCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandGetEventListenersCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
RemoveDOMBreakpoint(RemoveDOMBreakpointCommandSettings, CancellationToken, int?, bool)
removeDOMBreakpoint
public Task<RemoveDOMBreakpointCommandResponse?> RemoveDOMBreakpoint(RemoveDOMBreakpointCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandRemoveDOMBreakpointCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
RemoveEventListenerBreakpoint(RemoveEventListenerBreakpointCommandSettings, CancellationToken, int?, bool)
removeEventListenerBreakpoint
public Task<RemoveEventListenerBreakpointCommandResponse?> RemoveEventListenerBreakpoint(RemoveEventListenerBreakpointCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandRemoveEventListenerBreakpointCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
RemoveInstrumentationBreakpoint(RemoveInstrumentationBreakpointCommandSettings, CancellationToken, int?, bool)
removeInstrumentationBreakpoint
public Task<RemoveInstrumentationBreakpointCommandResponse?> RemoveInstrumentationBreakpoint(RemoveInstrumentationBreakpointCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandRemoveInstrumentationBreakpointCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
RemoveXHRBreakpoint(RemoveXHRBreakpointCommandSettings, CancellationToken, int?, bool)
removeXHRBreakpoint
public Task<RemoveXHRBreakpointCommandResponse?> RemoveXHRBreakpoint(RemoveXHRBreakpointCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandRemoveXHRBreakpointCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
SetBreakOnCSPViolation(SetBreakOnCSPViolationCommandSettings, CancellationToken, int?, bool)
setBreakOnCSPViolation
public Task<SetBreakOnCSPViolationCommandResponse?> SetBreakOnCSPViolation(SetBreakOnCSPViolationCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandSetBreakOnCSPViolationCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
SetDOMBreakpoint(SetDOMBreakpointCommandSettings, CancellationToken, int?, bool)
setDOMBreakpoint
public Task<SetDOMBreakpointCommandResponse?> SetDOMBreakpoint(SetDOMBreakpointCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandSetDOMBreakpointCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
SetEventListenerBreakpoint(SetEventListenerBreakpointCommandSettings, CancellationToken, int?, bool)
setEventListenerBreakpoint
public Task<SetEventListenerBreakpointCommandResponse?> SetEventListenerBreakpoint(SetEventListenerBreakpointCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandSetEventListenerBreakpointCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
SetInstrumentationBreakpoint(SetInstrumentationBreakpointCommandSettings, CancellationToken, int?, bool)
setInstrumentationBreakpoint
public Task<SetInstrumentationBreakpointCommandResponse?> SetInstrumentationBreakpoint(SetInstrumentationBreakpointCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandSetInstrumentationBreakpointCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
SetXHRBreakpoint(SetXHRBreakpointCommandSettings, CancellationToken, int?, bool)
setXHRBreakpoint
public Task<SetXHRBreakpointCommandResponse?> SetXHRBreakpoint(SetXHRBreakpointCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandSetXHRBreakpointCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool