module Capybara

def string(html)

Returns:
  • (Capybara::Node::Simple) - A node which has Capybara's finders and matchers

Parameters:
  • html (String) -- An html fragment or document
def string(html)
  Capybara::Node::Simple.new(html)
end