Class PerformanceTimelineAdapter
- Namespace
- OpenQA.Selenium.DevTools.V133.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
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
Enable(EnableCommandSettings, CancellationToken, int?, bool)
enable
public Task<EnableCommandResponse?> Enable(EnableCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
EnableCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
Events
TimelineEventAdded
timelineEventAdded
public event EventHandler<TimelineEventAddedEventArgs>? TimelineEventAdded