Class PerformanceAdapter
- Namespace
- OpenQA.Selenium.Dev
Tools .V130.Performance
- Assembly
- WebDriver.dll
Represents an adapter for the Performance domain to simplify the command interface.
- Inheritance
-
Performance
Adapter
- Inherited Members
Constructors
PerformanceAdapter(IDevToolsSession)
Initializes a new instance of the PerformanceAdapter class.
Parameters
session
IDevTools Session The IDevToolsSession to be used with this adapter.
Properties
Session
Gets the DevToolsSession associated with the adapter.
Property Value
Methods
Disable(DisableCommandSettings, CancellationToken, int?, bool)
disable
public Task<DisableCommandResponse> Disable(DisableCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
DisableCommand Settings cancellationToken
CancellationToken millisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
Enable(EnableCommandSettings, CancellationToken, int?, bool)
enable
public Task<EnableCommandResponse> Enable(EnableCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
EnableCommand Settings cancellationToken
CancellationToken millisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetMetrics(GetMetricsCommandSettings, CancellationToken, int?, bool)
getMetrics
public Task<GetMetricsCommandResponse> GetMetrics(GetMetricsCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetMetrics Command Settings cancellationToken
CancellationToken millisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetTimeDomain(SetTimeDomainCommandSettings, CancellationToken, int?, bool)
setTimeDomain
public Task<SetTimeDomainCommandResponse> SetTimeDomain(SetTimeDomainCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetTime Domain Command Settings cancellationToken
CancellationToken millisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
Events
Metrics
metrics