Class: Capybara::Document

Inherits:
Node
  • Object
show all
Defined in:
lib/capybara/node.rb

Overview

A Document represents an HTML document. Any operation performed on it will be performed on the entire document.

See Also:

Instance Attribute Summary

Attributes inherited from Node

#base, #session

Instance Method Summary collapse

Methods inherited from Node

#initialize

Methods included from Node::Matchers

#has_button?, #has_checked_field?, #has_content?, #has_css?, #has_field?, #has_link?, #has_no_button?, #has_no_content?, #has_no_css?, #has_no_field?, #has_no_link?, #has_no_select?, #has_no_selector?, #has_no_table?, #has_no_xpath?, #has_select?, #has_selector?, #has_table?, #has_unchecked_field?, #has_xpath?

Methods included from Node::Actions

#attach_file, #check, #choose, #click_button, #click_link, #click_link_or_button, #drag, #fill_in, #select, #uncheck, #unselect

Methods included from Node::Finders

#all, #find, #find_button, #find_by_id, #find_field, #find_link, #locate

Constructor Details

This class inherits a constructor from Capybara::Node

Instance Method Details

#inspectObject



217
218
219
# File 'lib/capybara/node.rb', line 217

def inspect
  %(#<Capybara::Document>)
end