Table of Contents

Class IndexedDBAdapter

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

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

public class IndexedDBAdapter
Inheritance
IndexedDBAdapter
Inherited Members

Constructors

IndexedDBAdapter(IDevToolsSession)

Initializes a new instance of the IndexedDBAdapter class.

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

ClearObjectStore(ClearObjectStoreCommandSettings, CancellationToken, int?, bool)

clearObjectStore

public Task<ClearObjectStoreCommandResponse> ClearObjectStore(ClearObjectStoreCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command ClearObjectStoreCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<ClearObjectStoreCommandResponse>

DeleteDatabase(DeleteDatabaseCommandSettings, CancellationToken, int?, bool)

deleteDatabase

public Task<DeleteDatabaseCommandResponse> DeleteDatabase(DeleteDatabaseCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command DeleteDatabaseCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<DeleteDatabaseCommandResponse>

DeleteObjectStoreEntries(DeleteObjectStoreEntriesCommandSettings, CancellationToken, int?, bool)

deleteObjectStoreEntries

public Task<DeleteObjectStoreEntriesCommandResponse> DeleteObjectStoreEntries(DeleteObjectStoreEntriesCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command DeleteObjectStoreEntriesCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<DeleteObjectStoreEntriesCommandResponse>

Disable(DisableCommandSettings, CancellationToken, int?, bool)

disable

public Task<DisableCommandResponse> Disable(DisableCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command DisableCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<DisableCommandResponse>

Enable(EnableCommandSettings, CancellationToken, int?, bool)

enable

public Task<EnableCommandResponse> Enable(EnableCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command EnableCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<EnableCommandResponse>

GetMetadata(GetMetadataCommandSettings, CancellationToken, int?, bool)

getMetadata

public Task<GetMetadataCommandResponse> GetMetadata(GetMetadataCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetMetadataCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetMetadataCommandResponse>

RequestData(RequestDataCommandSettings, CancellationToken, int?, bool)

requestData

public Task<RequestDataCommandResponse> RequestData(RequestDataCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command RequestDataCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<RequestDataCommandResponse>

RequestDatabase(RequestDatabaseCommandSettings, CancellationToken, int?, bool)

requestDatabase

public Task<RequestDatabaseCommandResponse> RequestDatabase(RequestDatabaseCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command RequestDatabaseCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<RequestDatabaseCommandResponse>

RequestDatabaseNames(RequestDatabaseNamesCommandSettings, CancellationToken, int?, bool)

requestDatabaseNames

public Task<RequestDatabaseNamesCommandResponse> RequestDatabaseNames(RequestDatabaseNamesCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command RequestDatabaseNamesCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<RequestDatabaseNamesCommandResponse>