Table of Contents

Class ExtensionsAdapter

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

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

public class ExtensionsAdapter
Inheritance
ExtensionsAdapter
Inherited Members

Constructors

ExtensionsAdapter(IDevToolsSession)

Initializes a new instance of the ExtensionsAdapter class.

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

ClearStorageItems(ClearStorageItemsCommandSettings, CancellationToken, int?, bool)

clearStorageItems

public Task<ClearStorageItemsCommandResponse> ClearStorageItems(ClearStorageItemsCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command ClearStorageItemsCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<ClearStorageItemsCommandResponse>

GetStorageItems(GetStorageItemsCommandSettings, CancellationToken, int?, bool)

getStorageItems

public Task<GetStorageItemsCommandResponse> GetStorageItems(GetStorageItemsCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetStorageItemsCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetStorageItemsCommandResponse>

LoadUnpacked(LoadUnpackedCommandSettings, CancellationToken, int?, bool)

loadUnpacked

public Task<LoadUnpackedCommandResponse> LoadUnpacked(LoadUnpackedCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command LoadUnpackedCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<LoadUnpackedCommandResponse>

RemoveStorageItems(RemoveStorageItemsCommandSettings, CancellationToken, int?, bool)

removeStorageItems

public Task<RemoveStorageItemsCommandResponse> RemoveStorageItems(RemoveStorageItemsCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command RemoveStorageItemsCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<RemoveStorageItemsCommandResponse>

SetStorageItems(SetStorageItemsCommandSettings, CancellationToken, int?, bool)

setStorageItems

public Task<SetStorageItemsCommandResponse> SetStorageItems(SetStorageItemsCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command SetStorageItemsCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<SetStorageItemsCommandResponse>