Class DOMStorage
- java.lang.Object
-
- org.openqa.selenium.devtools.domstorage.DOMStorage
-
@Beta public class DOMStorage extends java.lang.Object
Query and modify DOM storage.
-
-
Constructor Summary
Constructors Constructor Description DOMStorage()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Command<java.lang.Void>
clear(StorageId storageId)
static Command<java.lang.Void>
disable()
Disables storage tracking, prevents storage events from being sent to the client.static Event<DomStorageItemAdded>
domStorageItemAdded()
static Event<DomStorageItemRemoved>
domStorageItemRemoved()
static Event<StorageId>
domStorageItemsCleared()
static Event<DomStorageItemUpdated>
domStorageItemUpdated()
static Command<java.lang.Void>
enable()
Enables storage tracking, storage events will now be delivered to the client.static Command<java.util.List<Item>>
getDOMStorageItems(StorageId storageId)
static Command<java.lang.Void>
removeDOMStorageItem(StorageId storageId, java.lang.String key)
static Command<java.lang.Void>
setDOMStorageItem(StorageId storageId, java.lang.String key, java.lang.String value)
-
-
-
Method Detail
-
disable
public static Command<java.lang.Void> disable()
Disables storage tracking, prevents storage events from being sent to the client.
-
enable
public static Command<java.lang.Void> enable()
Enables storage tracking, storage events will now be delivered to the client.
-
getDOMStorageItems
public static Command<java.util.List<Item>> getDOMStorageItems(StorageId storageId)
-
removeDOMStorageItem
public static Command<java.lang.Void> removeDOMStorageItem(StorageId storageId, java.lang.String key)
-
setDOMStorageItem
public static Command<java.lang.Void> setDOMStorageItem(StorageId storageId, java.lang.String key, java.lang.String value)
-
domStorageItemAdded
public static Event<DomStorageItemAdded> domStorageItemAdded()
-
domStorageItemRemoved
public static Event<DomStorageItemRemoved> domStorageItemRemoved()
-
domStorageItemUpdated
public static Event<DomStorageItemUpdated> domStorageItemUpdated()
-
-