module Capybara
def string(html)
-
(Capybara::Node::Simple)- A node which has Capybara's finders and matchers
Parameters:
-
html(String) -- An html fragment or document
Other tags:
- Example: Multiple elements -
Example: A single element -
def string(html) Capybara::Node::Simple.new(html) end