Module: PageMagic::SessionMethods
- Extended by:
- Forwardable
- Included in:
- Element, InstanceMethods
- Defined in:
- lib/page_magic/session_methods.rb
Overview
module SessionMethods - contains methods for interacting with the Session
Instance Method Summary collapse
-
#execute_script ⇒ Object
execute javascript on the browser.
-
#page ⇒ Object
returns the currently active page object.
-
#path ⇒ Object
returns the current path.
-
#url ⇒ Object
returns the current url.
Instance Method Details
#execute_script ⇒ Object
execute javascript on the browser
11 |
# File 'lib/page_magic/session_methods.rb', line 11 def_delegator :session, :execute_script |
#page ⇒ Object
returns the currently active page object
16 |
# File 'lib/page_magic/session_methods.rb', line 16 def_delegator :session, :current_page, :page |
#path ⇒ Object
returns the current path
21 |
# File 'lib/page_magic/session_methods.rb', line 21 def_delegator :session, :current_path, :path |
#url ⇒ Object
returns the current url
26 |
# File 'lib/page_magic/session_methods.rb', line 26 def_delegator :session, :current_url, :url |