Class SystemInfoAdapter
- Namespace
- OpenQA.Selenium.DevTools.V146.SystemInfo
- Assembly
- Selenium.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
sessionIDevToolsSessionThe 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
GetFeatureState(GetFeatureStateCommandSettings, CancellationToken, int?, bool)
Returns information about the feature state.
public Task<GetFeatureStateCommandResponse> GetFeatureState(GetFeatureStateCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
commandGetFeatureStateCommandSettingscancellationTokenCancellationTokenmillisecondsTimeoutint?throwExceptionIfResponseNotReceivedbool
Returns
GetInfo(GetInfoCommandSettings?, CancellationToken, int?, bool)
Returns information about the system.
public Task<GetInfoCommandResponse> GetInfo(GetInfoCommandSettings? command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
commandGetInfoCommandSettingscancellationTokenCancellationTokenmillisecondsTimeoutint?throwExceptionIfResponseNotReceivedbool
Returns
GetProcessInfo(GetProcessInfoCommandSettings?, CancellationToken, int?, bool)
Returns information about all running processes.
public Task<GetProcessInfoCommandResponse> GetProcessInfo(GetProcessInfoCommandSettings? command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
commandGetProcessInfoCommandSettingscancellationTokenCancellationTokenmillisecondsTimeoutint?throwExceptionIfResponseNotReceivedbool