class Capybara::Node::Document
def text(type = nil)
- 
        (String)- The text of the document
def text(type = nil) find(:xpath, '/html').text(type) end
(String)
        - The text of the document
      def text(type = nil) find(:xpath, '/html').text(type) end