Table of Contents

Class ApplicationCacheAdapter

Namespace
OpenQA.Selenium.DevTools.V85.ApplicationCache
Assembly
WebDriver.dll

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

public class ApplicationCacheAdapter
Inheritance
ApplicationCacheAdapter
Inherited Members

Constructors

ApplicationCacheAdapter(IDevToolsSession)

Initializes a new instance of the ApplicationCacheAdapter class.

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

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>

GetApplicationCacheForFrame(GetApplicationCacheForFrameCommandSettings, CancellationToken, int?, bool)

getApplicationCacheForFrame

public Task<GetApplicationCacheForFrameCommandResponse> GetApplicationCacheForFrame(GetApplicationCacheForFrameCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetApplicationCacheForFrameCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetApplicationCacheForFrameCommandResponse>

GetFramesWithManifests(GetFramesWithManifestsCommandSettings, CancellationToken, int?, bool)

getFramesWithManifests

public Task<GetFramesWithManifestsCommandResponse> GetFramesWithManifests(GetFramesWithManifestsCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetFramesWithManifestsCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetFramesWithManifestsCommandResponse>

GetManifestForFrame(GetManifestForFrameCommandSettings, CancellationToken, int?, bool)

getManifestForFrame

public Task<GetManifestForFrameCommandResponse> GetManifestForFrame(GetManifestForFrameCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetManifestForFrameCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetManifestForFrameCommandResponse>

Events

ApplicationCacheStatusUpdated

applicationCacheStatusUpdated

public event EventHandler<ApplicationCacheStatusUpdatedEventArgs> ApplicationCacheStatusUpdated

Event Type

EventHandler<ApplicationCacheStatusUpdatedEventArgs>

NetworkStateUpdated

networkStateUpdated

public event EventHandler<NetworkStateUpdatedEventArgs> NetworkStateUpdated

Event Type

EventHandler<NetworkStateUpdatedEventArgs>