Class EventBreakpointsAdapter
- Namespace
- OpenQA.Selenium.DevTools.V134.EventBreakpoints
- Assembly
- WebDriver.dll
Represents an adapter for the EventBreakpoints domain to simplify the command interface.
public class EventBreakpointsAdapter
- Inheritance
-
EventBreakpointsAdapter
- Inherited Members
Constructors
EventBreakpointsAdapter(IDevToolsSession)
Initializes a new instance of the EventBreakpointsAdapter class.
public EventBreakpointsAdapter(IDevToolsSession session)
Parameters
session
IDevToolsSessionThe IDevToolsSession to be used with this adapter.
Exceptions
- ArgumentNullException
If
session
is null.
Properties
Session
Gets the DevToolsSession associated with the adapter.
public IDevToolsSession Session { get; }
Property Value
Methods
Disable(DisableCommandSettings?, CancellationToken, int?, bool)
disable
public Task<DisableCommandResponse?> Disable(DisableCommandSettings? command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
DisableCommandSettingscancellationToken
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
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