Class DOMStorage
- java.lang.Object
-
- org.openqa.selenium.devtools.v85.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 org.openqa.selenium.devtools.Command<java.lang.Void>
clear(StorageId storageId)
static org.openqa.selenium.devtools.Command<java.lang.Void>
disable()
Disables storage tracking, prevents storage events from being sent to the client.static org.openqa.selenium.devtools.Event<DomStorageItemAdded>
domStorageItemAdded()
static org.openqa.selenium.devtools.Event<DomStorageItemRemoved>
domStorageItemRemoved()
static org.openqa.selenium.devtools.Event<StorageId>
domStorageItemsCleared()
static org.openqa.selenium.devtools.Event<DomStorageItemUpdated>
domStorageItemUpdated()
static org.openqa.selenium.devtools.Command<java.lang.Void>
enable()
Enables storage tracking, storage events will now be delivered to the client.static org.openqa.selenium.devtools.Command<java.util.List<Item>>
getDOMStorageItems(StorageId storageId)
static org.openqa.selenium.devtools.Command<java.lang.Void>
removeDOMStorageItem(StorageId storageId, java.lang.String key)
static org.openqa.selenium.devtools.Command<java.lang.Void>
setDOMStorageItem(StorageId storageId, java.lang.String key, java.lang.String value)
-
-
-
Method Detail
-
clear
public static org.openqa.selenium.devtools.Command<java.lang.Void> clear(StorageId storageId)
-
disable
public static org.openqa.selenium.devtools.Command<java.lang.Void> disable()
Disables storage tracking, prevents storage events from being sent to the client.
-
enable
public static org.openqa.selenium.devtools.Command<java.lang.Void> enable()
Enables storage tracking, storage events will now be delivered to the client.
-
getDOMStorageItems
public static org.openqa.selenium.devtools.Command<java.util.List<Item>> getDOMStorageItems(StorageId storageId)
-
removeDOMStorageItem
public static org.openqa.selenium.devtools.Command<java.lang.Void> removeDOMStorageItem(StorageId storageId, java.lang.String key)
-
setDOMStorageItem
public static org.openqa.selenium.devtools.Command<java.lang.Void> setDOMStorageItem(StorageId storageId, java.lang.String key, java.lang.String value)
-
domStorageItemAdded
public static org.openqa.selenium.devtools.Event<DomStorageItemAdded> domStorageItemAdded()
-
domStorageItemRemoved
public static org.openqa.selenium.devtools.Event<DomStorageItemRemoved> domStorageItemRemoved()
-
domStorageItemUpdated
public static org.openqa.selenium.devtools.Event<DomStorageItemUpdated> domStorageItemUpdated()
-
domStorageItemsCleared
public static org.openqa.selenium.devtools.Event<StorageId> domStorageItemsCleared()
-
-