- Defined in:
Wraps the given string, which should contain an HTML document or fragment in awhich exposes all , and . This allows you to query any string containing HTML in the exact same way you would query the current document in a Capybara session.
239 240 241
# File 'lib/capybara.rb', line 239 def string(html) ::::.(html) end