Table of Contents

Class SystemInfoAdapter

Namespace
OpenQA.Selenium.DevTools.V130.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 IDevToolsSession

The IDevToolsSession to be used with this adapter.

Properties

Session

Gets the DevToolsSession associated with the adapter.

public IDevToolsSession Session { get; }

Property Value

IDevToolsSession

Methods

GetFeatureState(GetFeatureStateCommandSettings, CancellationToken, int?, bool)

getFeatureState

public Task<GetFeatureStateCommandResponse> GetFeatureState(GetFeatureStateCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetFeatureStateCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetFeatureStateCommandResponse>

GetInfo(GetInfoCommandSettings, CancellationToken, int?, bool)

getInfo

public Task<GetInfoCommandResponse> GetInfo(GetInfoCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetInfoCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetInfoCommandResponse>

GetProcessInfo(GetProcessInfoCommandSettings, CancellationToken, int?, bool)

getProcessInfo

public Task<GetProcessInfoCommandResponse> GetProcessInfo(GetProcessInfoCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetProcessInfoCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetProcessInfoCommandResponse>