Table of Contents

Class IOAdapter

Namespace
OpenQA.Selenium.DevTools.V131.IO
Assembly
WebDriver.dll

Represents an adapter for the IO domain to simplify the command interface.

public class IOAdapter
Inheritance
IOAdapter
Inherited Members

Constructors

IOAdapter(IDevToolsSession)

Initializes a new instance of the IOAdapter class.

public IOAdapter(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

Close(CloseCommandSettings, CancellationToken, int?, bool)

close

public Task<CloseCommandResponse> Close(CloseCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command CloseCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<CloseCommandResponse>

Read(ReadCommandSettings, CancellationToken, int?, bool)

read

public Task<ReadCommandResponse> Read(ReadCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command ReadCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<ReadCommandResponse>

ResolveBlob(ResolveBlobCommandSettings, CancellationToken, int?, bool)

resolveBlob

public Task<ResolveBlobCommandResponse> ResolveBlob(ResolveBlobCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command ResolveBlobCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<ResolveBlobCommandResponse>