Module: Selenium::WebDriver::DriverExtensions::HasWebStorage Private

Included in:
Chrome::Driver, Firefox::Marionette::Driver, IE::Driver, Remote::Driver
Defined in:
build/rb/lib/selenium/webdriver/common/driver_extensions/has_web_storage.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#local_storageObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



26
27
28
# File 'build/rb/lib/selenium/webdriver/common/driver_extensions/has_web_storage.rb', line 26

def local_storage
  HTML5::LocalStorage.new @bridge
end

#session_storageObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



30
31
32
# File 'build/rb/lib/selenium/webdriver/common/driver_extensions/has_web_storage.rb', line 30

def session_storage
  HTML5::SessionStorage.new @bridge
end