Table of Contents

Class SystemInfoAdapter

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

session IDevToolsSession

The 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

IDevToolsSession

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

command GetFeatureStateCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetFeatureStateCommandResponse>

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

command GetInfoCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetInfoCommandResponse>

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

command GetProcessInfoCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetProcessInfoCommandResponse>