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
IDevToolsSessionThe IDevToolsSession to be used with this adapter.
Properties
Session
Gets the DevToolsSession associated with the adapter.
public IDevToolsSession Session { get; }
Property Value
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
EnableCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetApplicationCacheForFrame(GetApplicationCacheForFrameCommandSettings, CancellationToken, int?, bool)
getApplicationCacheForFrame
public Task<GetApplicationCacheForFrameCommandResponse> GetApplicationCacheForFrame(GetApplicationCacheForFrameCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetApplicationCacheForFrameCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetFramesWithManifests(GetFramesWithManifestsCommandSettings, CancellationToken, int?, bool)
getFramesWithManifests
public Task<GetFramesWithManifestsCommandResponse> GetFramesWithManifests(GetFramesWithManifestsCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetFramesWithManifestsCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetManifestForFrame(GetManifestForFrameCommandSettings, CancellationToken, int?, bool)
getManifestForFrame
public Task<GetManifestForFrameCommandResponse> GetManifestForFrame(GetManifestForFrameCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetManifestForFrameCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
Events
ApplicationCacheStatusUpdated
applicationCacheStatusUpdated
public event EventHandler<ApplicationCacheStatusUpdatedEventArgs> ApplicationCacheStatusUpdated
Event Type
NetworkStateUpdated
networkStateUpdated
public event EventHandler<NetworkStateUpdatedEventArgs> NetworkStateUpdated