Class ExtensionsAdapter
- Namespace
- OpenQA.Selenium.DevTools.V142.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
- 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
ClearStorageItems(ClearStorageItemsCommandSettings, CancellationToken, int?, bool)
clearStorageItems
public Task<ClearStorageItemsCommandResponse?> ClearStorageItems(ClearStorageItemsCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandClearStorageItemsCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
GetStorageItems(GetStorageItemsCommandSettings, CancellationToken, int?, bool)
getStorageItems
public Task<GetStorageItemsCommandResponse> GetStorageItems(GetStorageItemsCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandGetStorageItemsCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
LoadUnpacked(LoadUnpackedCommandSettings, CancellationToken, int?, bool)
loadUnpacked
public Task<LoadUnpackedCommandResponse> LoadUnpacked(LoadUnpackedCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandLoadUnpackedCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
RemoveStorageItems(RemoveStorageItemsCommandSettings, CancellationToken, int?, bool)
removeStorageItems
public Task<RemoveStorageItemsCommandResponse?> RemoveStorageItems(RemoveStorageItemsCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandRemoveStorageItemsCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
SetStorageItems(SetStorageItemsCommandSettings, CancellationToken, int?, bool)
setStorageItems
public Task<SetStorageItemsCommandResponse?> SetStorageItems(SetStorageItemsCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandSetStorageItemsCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
Uninstall(UninstallCommandSettings, CancellationToken, int?, bool)
uninstall
public Task<UninstallCommandResponse?> Uninstall(UninstallCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandUninstallCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool