java.lang.Object
org.openqa.selenium.devtools.v85.domstorage.DOMStorage

@Beta public class DOMStorage extends Object
Query and modify DOM storage.
  • Constructor Details

    • DOMStorage

      public DOMStorage()
  • Method Details

    • clear

      public static org.openqa.selenium.devtools.Command<Void> clear(StorageId storageId)
    • disable

      public static org.openqa.selenium.devtools.Command<Void> disable()
      Disables storage tracking, prevents storage events from being sent to the client.
    • enable

      public static org.openqa.selenium.devtools.Command<Void> enable()
      Enables storage tracking, storage events will now be delivered to the client.
    • getDOMStorageItems

      public static org.openqa.selenium.devtools.Command<List<Item>> getDOMStorageItems(StorageId storageId)
    • removeDOMStorageItem

      public static org.openqa.selenium.devtools.Command<Void> removeDOMStorageItem(StorageId storageId, String key)
    • setDOMStorageItem

      public static org.openqa.selenium.devtools.Command<Void> setDOMStorageItem(StorageId storageId, String key, 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()