Class: AePageObjects::Document

Inherits:
Node
  • Object
show all
Includes:
Concerns::Visitable
Defined in:
lib/ae_page_objects/document.rb

Constant Summary

Constants included from Node::Methods

Node::Methods::METHODS_TO_DELEGATE_TO_NODE

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Concerns::Visitable

included

Methods included from Dsl

#collection, #element, #form_for, #inherited

Methods included from InternalHelpers

#ensure_class_for_param!

Methods included from Node::ClassMethods

#current_url, #current_url_without_params, #new_subclass

Methods included from Concerns::Staleable

#node, #stale?

Methods included from Node::Methods

#current_url, #current_url_without_params, #node

Constructor Details

#initializeDocument

Returns a new instance of Document.



5
6
7
# File 'lib/ae_page_objects/document.rb', line 5

def initialize
  super(Capybara.current_session)
end

Instance Attribute Details

#windowObject (readonly)

Returns the value of attribute window.



10
11
12
# File 'lib/ae_page_objects/document.rb', line 10

def window
  @window
end

Instance Method Details

#documentObject



20
21
22
# File 'lib/ae_page_objects/document.rb', line 20

def document
  self
end