org.openqa.selenium.remote.html5
Class RemoteLocalStorage

java.lang.Object
  extended by org.openqa.selenium.remote.html5.RemoteLocalStorage
All Implemented Interfaces:
LocalStorage

public class RemoteLocalStorage
extends java.lang.Object
implements LocalStorage

Executes the commands to access HTML5 localStorage on the remote webdriver server.


Constructor Summary
RemoteLocalStorage(ExecuteMethod executeMethod)
           
 
Method Summary
 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 LocalStorage

keySet

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

setItem

public void setItem(java.lang.String key,
                    java.lang.String value)
Specified by:
setItem in interface LocalStorage

removeItem

public java.lang.String removeItem(java.lang.String key)
Specified by:
removeItem in interface LocalStorage

clear

public void clear()
Specified by:
clear in interface LocalStorage

size

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


Copyright © 2012. All Rights Reserved.