Table of Contents

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

session IDevToolsSession

The 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

IDevToolsSession

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

command GetEntriesCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetEntriesCommandResponse>