Table of Contents

Class TracingAdapter

Namespace
OpenQA.Selenium.DevTools.V132.Tracing
Assembly
WebDriver.dll

Represents an adapter for the Tracing domain to simplify the command interface.

public class TracingAdapter
Inheritance
TracingAdapter
Inherited Members

Constructors

TracingAdapter(IDevToolsSession)

Initializes a new instance of the TracingAdapter class.

public TracingAdapter(IDevToolsSession session)

Parameters

session IDevToolsSession

The IDevToolsSession to be used with this adapter.

Properties

Session

Gets the DevToolsSession associated with the adapter.

public IDevToolsSession Session { get; }

Property Value

IDevToolsSession

Methods

End(EndCommandSettings, CancellationToken, int?, bool)

end

public Task<EndCommandResponse> End(EndCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command EndCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<EndCommandResponse>

GetCategories(GetCategoriesCommandSettings, CancellationToken, int?, bool)

getCategories

public Task<GetCategoriesCommandResponse> GetCategories(GetCategoriesCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetCategoriesCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetCategoriesCommandResponse>

RecordClockSyncMarker(RecordClockSyncMarkerCommandSettings, CancellationToken, int?, bool)

recordClockSyncMarker

public Task<RecordClockSyncMarkerCommandResponse> RecordClockSyncMarker(RecordClockSyncMarkerCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command RecordClockSyncMarkerCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<RecordClockSyncMarkerCommandResponse>

RequestMemoryDump(RequestMemoryDumpCommandSettings, CancellationToken, int?, bool)

requestMemoryDump

public Task<RequestMemoryDumpCommandResponse> RequestMemoryDump(RequestMemoryDumpCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command RequestMemoryDumpCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<RequestMemoryDumpCommandResponse>

Start(StartCommandSettings, CancellationToken, int?, bool)

start

public Task<StartCommandResponse> Start(StartCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command StartCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<StartCommandResponse>

Events

BufferUsage

bufferUsage

public event EventHandler<BufferUsageEventArgs> BufferUsage

Event Type

EventHandler<BufferUsageEventArgs>

DataCollected

dataCollected

public event EventHandler<DataCollectedEventArgs> DataCollected

Event Type

EventHandler<DataCollectedEventArgs>

TracingComplete

tracingComplete

public event EventHandler<TracingCompleteEventArgs> TracingComplete

Event Type

EventHandler<TracingCompleteEventArgs>