Class DOMStorage


  • @Beta
    public class DOMStorage
    extends java.lang.Object
    Query and modify DOM storage.
    • Constructor Detail

      • DOMStorage

        public DOMStorage()
    • 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()