Table of Contents

Class PerformanceTimelineAdapter

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

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

public class PerformanceTimelineAdapter
Inheritance
PerformanceTimelineAdapter
Inherited Members

Constructors

PerformanceTimelineAdapter(IDevToolsSession)

Initializes a new instance of the PerformanceTimelineAdapter class.

public PerformanceTimelineAdapter(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

Enable(EnableCommandSettings, CancellationToken, int?, bool)

enable

public Task<EnableCommandResponse> Enable(EnableCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command EnableCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<EnableCommandResponse>

Events

TimelineEventAdded

timelineEventAdded

public event EventHandler<TimelineEventAddedEventArgs> TimelineEventAdded

Event Type

EventHandler<TimelineEventAddedEventArgs>