Class ExtensionsAdapter
- Namespace
- OpenQA.Selenium.DevTools.V132.Extensions
- Assembly
- WebDriver.dll
Represents an adapter for the Extensions domain to simplify the command interface.
public class ExtensionsAdapter
- Inheritance
-
ExtensionsAdapter
- Inherited Members
Constructors
ExtensionsAdapter(IDevToolsSession)
Initializes a new instance of the ExtensionsAdapter class.
public ExtensionsAdapter(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
ClearStorageItems(ClearStorageItemsCommandSettings, CancellationToken, int?, bool)
clearStorageItems
public Task<ClearStorageItemsCommandResponse> ClearStorageItems(ClearStorageItemsCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
ClearStorageItemsCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetStorageItems(GetStorageItemsCommandSettings, CancellationToken, int?, bool)
getStorageItems
public Task<GetStorageItemsCommandResponse> GetStorageItems(GetStorageItemsCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetStorageItemsCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
LoadUnpacked(LoadUnpackedCommandSettings, CancellationToken, int?, bool)
loadUnpacked
public Task<LoadUnpackedCommandResponse> LoadUnpacked(LoadUnpackedCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
LoadUnpackedCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
RemoveStorageItems(RemoveStorageItemsCommandSettings, CancellationToken, int?, bool)
removeStorageItems
public Task<RemoveStorageItemsCommandResponse> RemoveStorageItems(RemoveStorageItemsCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
RemoveStorageItemsCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetStorageItems(SetStorageItemsCommandSettings, CancellationToken, int?, bool)
setStorageItems
public Task<SetStorageItemsCommandResponse> SetStorageItems(SetStorageItemsCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetStorageItemsCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool