Table of Contents

Class TetheringAdapter

Namespace
OpenQA.Selenium.DevTools.V130.Tethering
Assembly
WebDriver.dll

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

public class TetheringAdapter
Inheritance
TetheringAdapter
Inherited Members

Constructors

TetheringAdapter(IDevToolsSession)

Initializes a new instance of the TetheringAdapter class.

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

Bind(BindCommandSettings, CancellationToken, int?, bool)

bind

public Task<BindCommandResponse> Bind(BindCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command BindCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<BindCommandResponse>

Unbind(UnbindCommandSettings, CancellationToken, int?, bool)

unbind

public Task<UnbindCommandResponse> Unbind(UnbindCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command UnbindCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<UnbindCommandResponse>

Events

Accepted

accepted

public event EventHandler<AcceptedEventArgs> Accepted

Event Type

EventHandler<AcceptedEventArgs>