Class DOMStorage
java.lang.Object
org.openqa.selenium.devtools.v131.domstorage.DOMStorage
Query and modify DOM storage.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.openqa.selenium.devtools.Command<Void>static org.openqa.selenium.devtools.Command<Void>disable()Disables storage tracking, prevents storage events from being sent to the client.static org.openqa.selenium.devtools.Event<DomStorageItemAdded>static org.openqa.selenium.devtools.Event<DomStorageItemRemoved>static org.openqa.selenium.devtools.Event<StorageId>static org.openqa.selenium.devtools.Event<DomStorageItemUpdated>static org.openqa.selenium.devtools.Command<Void>enable()Enables storage tracking, storage events will now be delivered to the client.getDOMStorageItems(StorageId storageId) static org.openqa.selenium.devtools.Command<Void>removeDOMStorageItem(StorageId storageId, String key) static org.openqa.selenium.devtools.Command<Void>setDOMStorageItem(StorageId storageId, String key, String value)
-
Constructor Details
-
DOMStorage
public DOMStorage()
-
-
Method Details
-
clear
-
disable
Disables storage tracking, prevents storage events from being sent to the client. -
enable
Enables storage tracking, storage events will now be delivered to the client. -
getDOMStorageItems
-
removeDOMStorageItem
-
setDOMStorageItem
-
domStorageItemAdded
-
domStorageItemRemoved
-
domStorageItemUpdated
-
domStorageItemsCleared
-