Class SystemInfoAdapter
- Namespace
- OpenQA.Selenium.DevTools.V133.SystemInfo
- Assembly
- WebDriver.dll
Represents an adapter for the SystemInfo domain to simplify the command interface.
public class SystemInfoAdapter
- Inheritance
-
SystemInfoAdapter
- Inherited Members
Constructors
SystemInfoAdapter(IDevToolsSession)
Initializes a new instance of the SystemInfoAdapter class.
public SystemInfoAdapter(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
GetFeatureState(GetFeatureStateCommandSettings, CancellationToken, int?, bool)
getFeatureState
public Task<GetFeatureStateCommandResponse> GetFeatureState(GetFeatureStateCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetFeatureStateCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetInfo(GetInfoCommandSettings?, CancellationToken, int?, bool)
getInfo
public Task<GetInfoCommandResponse> GetInfo(GetInfoCommandSettings? command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetInfoCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetProcessInfo(GetProcessInfoCommandSettings?, CancellationToken, int?, bool)
getProcessInfo
public Task<GetProcessInfoCommandResponse> GetProcessInfo(GetProcessInfoCommandSettings? command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetProcessInfoCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool