Table of Contents

Class CacheStorageAdapter

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

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

public class CacheStorageAdapter
Inheritance
CacheStorageAdapter
Inherited Members

Constructors

CacheStorageAdapter(IDevToolsSession)

Initializes a new instance of the CacheStorageAdapter class.

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

DeleteCache(DeleteCacheCommandSettings, CancellationToken, int?, bool)

deleteCache

public Task<DeleteCacheCommandResponse> DeleteCache(DeleteCacheCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command DeleteCacheCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<DeleteCacheCommandResponse>

DeleteEntry(DeleteEntryCommandSettings, CancellationToken, int?, bool)

deleteEntry

public Task<DeleteEntryCommandResponse> DeleteEntry(DeleteEntryCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command DeleteEntryCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<DeleteEntryCommandResponse>

RequestCacheNames(RequestCacheNamesCommandSettings, CancellationToken, int?, bool)

requestCacheNames

public Task<RequestCacheNamesCommandResponse> RequestCacheNames(RequestCacheNamesCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command RequestCacheNamesCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<RequestCacheNamesCommandResponse>

RequestCachedResponse(RequestCachedResponseCommandSettings, CancellationToken, int?, bool)

requestCachedResponse

public Task<RequestCachedResponseCommandResponse> RequestCachedResponse(RequestCachedResponseCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command RequestCachedResponseCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<RequestCachedResponseCommandResponse>

RequestEntries(RequestEntriesCommandSettings, CancellationToken, int?, bool)

requestEntries

public Task<RequestEntriesCommandResponse> RequestEntries(RequestEntriesCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command RequestEntriesCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<RequestEntriesCommandResponse>