Sha256: edf6368462bb275bcad98bc226ba53fcf26a9b2ff7c5c4c6cdaca7b24ba4c869
Contents?: true
Size: 836 Bytes
Versions: 17
Compression:
Stored size: 836 Bytes
Contents
require 'forwardable' module PageMagic # module SessionMethods - contains methods for interacting with the {Session} module SessionMethods extend Forwardable # @!method execute_script # execute javascript on the browser # @param [String] script the script to be executed # @return [Object] object returned by the {Session#execute_script} def_delegator :session, :execute_script # @!method page # returns the currently active page object # @see Session#current_page def_delegator :session, :current_page, :page # @!method path # returns the current path # @see Session#current_path def_delegator :session, :current_path, :path # @!method url # returns the current url # @see Session#current_url def_delegator :session, :current_url, :url end end
Version data entries
17 entries across 17 versions & 1 rubygems