Class RemoteLocalStorage

  • All Implemented Interfaces:
    LocalStorage, Storage

    public class RemoteLocalStorage
    extends java.lang.Object
    implements LocalStorage
    Executes the commands to access HTML5 localStorage on the remote webdriver server.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clear()  
      java.lang.String getItem​(java.lang.String key)  
      java.util.Set<java.lang.String> keySet()  
      java.lang.String removeItem​(java.lang.String key)  
      void setItem​(java.lang.String key, java.lang.String value)  
      int size()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RemoteLocalStorage

        public RemoteLocalStorage​(ExecuteMethod executeMethod)
    • Method Detail

      • getItem

        public java.lang.String getItem​(java.lang.String key)
        Specified by:
        getItem in interface Storage
      • keySet

        public java.util.Set<java.lang.String> keySet()
        Specified by:
        keySet in interface Storage
      • setItem

        public void setItem​(java.lang.String key,
                            java.lang.String value)
        Specified by:
        setItem in interface Storage
      • removeItem

        public java.lang.String removeItem​(java.lang.String key)
        Specified by:
        removeItem in interface Storage
      • clear

        public void clear()
        Specified by:
        clear in interface Storage
      • size

        public int size()
        Specified by:
        size in interface Storage