Class LocalStorage

java.lang.Object
com.codeborne.selenide.LocalStorage
All Implemented Interfaces:
Conditional<LocalStorage>

public class LocalStorage extends Object implements Conditional<LocalStorage>
  • Method Details

    • object

      public LocalStorage object()
      Specified by:
      object in interface Conditional<LocalStorage>
      Returns:
      object under test
    • driver

      public Driver driver()
    • containsItem

      public boolean containsItem(String key)
    • getItem

      public @Nullable String getItem(String key)
    • setItem

      public void setItem(String key, String value)
    • removeItem

      public void removeItem(String key)
    • clear

      public void clear()
    • size

      public int size()
    • isEmpty

      public boolean isEmpty()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getItems

      public Map<String,String> getItems()
      Returns:
      all items in this storage