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