Class CacheStorageAdapter
- Namespace
- OpenQA.Selenium.DevTools.V142.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
- sessionIDevToolsSession
- The IDevToolsSession to be used with this adapter. 
Exceptions
- ArgumentNullException
- If - sessionis null.
Properties
Session
Gets the DevToolsSession associated with the adapter.
public IDevToolsSession Session { get; }Property Value
Methods
DeleteCache(DeleteCacheCommandSettings, CancellationToken, int?, bool)
deleteCache
public Task<DeleteCacheCommandResponse?> DeleteCache(DeleteCacheCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandDeleteCacheCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
DeleteEntry(DeleteEntryCommandSettings, CancellationToken, int?, bool)
deleteEntry
public Task<DeleteEntryCommandResponse?> DeleteEntry(DeleteEntryCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandDeleteEntryCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
RequestCacheNames(RequestCacheNamesCommandSettings, CancellationToken, int?, bool)
requestCacheNames
public Task<RequestCacheNamesCommandResponse> RequestCacheNames(RequestCacheNamesCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandRequestCacheNamesCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
RequestCachedResponse(RequestCachedResponseCommandSettings, CancellationToken, int?, bool)
requestCachedResponse
public Task<RequestCachedResponseCommandResponse> RequestCachedResponse(RequestCachedResponseCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandRequestCachedResponseCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
RequestEntries(RequestEntriesCommandSettings, CancellationToken, int?, bool)
requestEntries
public Task<RequestEntriesCommandResponse> RequestEntries(RequestEntriesCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandRequestEntriesCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool