Sha256: ebee0bbc19ca4f3655619ec9fd981c8413ac06ce72d9405629ae13fed46da9fc
Contents?: true
Size: 462 Bytes
Versions: 29
Compression:
Stored size: 462 Bytes
Contents
module Capybara module Node ## # # A {Capybara::Document} represents an HTML document. Any operation # performed on it will be performed on the entire document. # # @see Capybara::Node # class Document < Base def inspect %(#<Capybara::Document>) end ## # # @return [String] The text of the document # def text find(:xpath, '/html').text end end end end
Version data entries
29 entries across 29 versions & 5 rubygems