Class DOMDebuggerAdapter
- Namespace
- OpenQA.Selenium.DevTools.V130.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
IDevToolsSessionThe IDevToolsSession to be used with this adapter.
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
command
GetEventListenersCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
RemoveDOMBreakpoint(RemoveDOMBreakpointCommandSettings, CancellationToken, int?, bool)
removeDOMBreakpoint
public Task<RemoveDOMBreakpointCommandResponse> RemoveDOMBreakpoint(RemoveDOMBreakpointCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
RemoveDOMBreakpointCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
RemoveEventListenerBreakpoint(RemoveEventListenerBreakpointCommandSettings, CancellationToken, int?, bool)
removeEventListenerBreakpoint
public Task<RemoveEventListenerBreakpointCommandResponse> RemoveEventListenerBreakpoint(RemoveEventListenerBreakpointCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
RemoveEventListenerBreakpointCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
RemoveInstrumentationBreakpoint(RemoveInstrumentationBreakpointCommandSettings, CancellationToken, int?, bool)
removeInstrumentationBreakpoint
public Task<RemoveInstrumentationBreakpointCommandResponse> RemoveInstrumentationBreakpoint(RemoveInstrumentationBreakpointCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
RemoveInstrumentationBreakpointCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
RemoveXHRBreakpoint(RemoveXHRBreakpointCommandSettings, CancellationToken, int?, bool)
removeXHRBreakpoint
public Task<RemoveXHRBreakpointCommandResponse> RemoveXHRBreakpoint(RemoveXHRBreakpointCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
RemoveXHRBreakpointCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetBreakOnCSPViolation(SetBreakOnCSPViolationCommandSettings, CancellationToken, int?, bool)
setBreakOnCSPViolation
public Task<SetBreakOnCSPViolationCommandResponse> SetBreakOnCSPViolation(SetBreakOnCSPViolationCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetBreakOnCSPViolationCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetDOMBreakpoint(SetDOMBreakpointCommandSettings, CancellationToken, int?, bool)
setDOMBreakpoint
public Task<SetDOMBreakpointCommandResponse> SetDOMBreakpoint(SetDOMBreakpointCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetDOMBreakpointCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetEventListenerBreakpoint(SetEventListenerBreakpointCommandSettings, CancellationToken, int?, bool)
setEventListenerBreakpoint
public Task<SetEventListenerBreakpointCommandResponse> SetEventListenerBreakpoint(SetEventListenerBreakpointCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetEventListenerBreakpointCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetInstrumentationBreakpoint(SetInstrumentationBreakpointCommandSettings, CancellationToken, int?, bool)
setInstrumentationBreakpoint
public Task<SetInstrumentationBreakpointCommandResponse> SetInstrumentationBreakpoint(SetInstrumentationBreakpointCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetInstrumentationBreakpointCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetXHRBreakpoint(SetXHRBreakpointCommandSettings, CancellationToken, int?, bool)
setXHRBreakpoint
public Task<SetXHRBreakpointCommandResponse> SetXHRBreakpoint(SetXHRBreakpointCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetXHRBreakpointCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool