class Capybara::Node::Document
@see Capybara::Node
performed on it will be performed on the entire document.
A {Capybara::Document} represents an HTML document. Any operation
#
def inspect
def inspect %(#<Capybara::Document>) end
def text(type = nil)
-
(String)
- The text of the document
def text(type = nil) find(:xpath, '/html').text(type) end
def title
-
(String)
- The title of the document
def title session.driver.title end