Class CrashReportContextAdapter
- Namespace
- OpenQA.Selenium.DevTools.V148.CrashReportContext
- Assembly
- Selenium.WebDriver.dll
Represents an adapter for the CrashReportContext domain to simplify the command interface.
public class CrashReportContextAdapter
- Inheritance
-
CrashReportContextAdapter
- Inherited Members
Constructors
CrashReportContextAdapter(IDevToolsSession)
Initializes a new instance of the CrashReportContextAdapter class.
public CrashReportContextAdapter(IDevToolsSession session)
Parameters
sessionIDevToolsSessionThe 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
GetEntries(GetEntriesCommandSettings?, CancellationToken, int?, bool)
Returns all entries in the CrashReportContext across all frames in the page.
public Task<GetEntriesCommandResponse> GetEntries(GetEntriesCommandSettings? command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
commandGetEntriesCommandSettingscancellationTokenCancellationTokenmillisecondsTimeoutint?throwExceptionIfResponseNotReceivedbool