org.openqa.selenium.html5
Interface SessionStorage


public interface SessionStorage

Represents the session storage in the browser for the site currently opened in the browser. The session storage areas is specific to the current top level browsing context. Each context has a unique set of session storage, one for each origin. Sites can add data to the session storage and it will be accessible to any page from the same site opened in that window.


Method Summary
 void clear()
           
 String getItem(String key)
           
 Set<String> keySet()
           
 String removeItem(String key)
           
 void setItem(String key, String value)
           
 int size()
           
 

Method Detail

getItem

String getItem(String key)

keySet

Set<String> keySet()

setItem

void setItem(String key,
             String value)

removeItem

String removeItem(String key)

clear

void clear()

size

int size()


Copyright © 2012. All Rights Reserved.