Class SystemInfoAdapter
- Namespace
- OpenQA.Selenium.DevTools.V142.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
- 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
GetFeatureState(GetFeatureStateCommandSettings, CancellationToken, int?, bool)
getFeatureState
public Task<GetFeatureStateCommandResponse> GetFeatureState(GetFeatureStateCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandGetFeatureStateCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
GetInfo(GetInfoCommandSettings?, CancellationToken, int?, bool)
getInfo
public Task<GetInfoCommandResponse> GetInfo(GetInfoCommandSettings? command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandGetInfoCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
GetProcessInfo(GetProcessInfoCommandSettings?, CancellationToken, int?, bool)
getProcessInfo
public Task<GetProcessInfoCommandResponse> GetProcessInfo(GetProcessInfoCommandSettings? command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandGetProcessInfoCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool