class Selenium::WebDriver::HTML5::LocalStorage
Public Class Methods
Source
# File lib/selenium/webdriver/common/html5/local_storage.rb, line 29 def initialize(bridge) @bridge = bridge end
@api private
Public Instance Methods
Source
# File lib/selenium/webdriver/common/html5/local_storage.rb, line 33 def [](key) @bridge.local_storage_item key end
Source
# File lib/selenium/webdriver/common/html5/local_storage.rb, line 37 def []=(key, value) @bridge.local_storage_item key, value end
Source
# File lib/selenium/webdriver/common/html5/local_storage.rb, line 45 def clear @bridge.clear_local_storage end
Source
# File lib/selenium/webdriver/common/html5/local_storage.rb, line 41 def delete(key) @bridge.remove_local_storage_item key end
Source
# File lib/selenium/webdriver/common/html5/local_storage.rb, line 53 def keys @bridge.local_storage_keys.reverse end
Source
# File lib/selenium/webdriver/common/html5/local_storage.rb, line 49 def size @bridge.local_storage_size end