Commit Graph

5 Commits

Author SHA1 Message Date
Jonas Nicklas 2697a5bd8c Pass type through to document 2013-02-17 15:28:28 +01:00
molfar 8df6ed16ec Add #title method to Capybara::Node::Document 2013-02-06 21:36:55 +02:00
Scott Cytacki 17224befe7 Fix document#text
It failed if the default selector was css, and failed with selenium with xpath.  Calling find('.') or find('/') in selenium returns a element that causes errors.  It now calls find(:xpath, '/html') which seems to work everywhere.
2011-02-18 16:29:51 -05:00
Jonas Nicklas and Nicklas Ramhöj d0985f7f78 Add have_content matcher 2011-02-10 17:15:28 +01:00
Jonas Nicklas d223d542f7 Move more of node functionality into subfolder
We have too many top level files, we have multiple
classes in the same file. This allows us to solve
both problems, while also providing a good place
for the new Capybara::Node::Simple (formerly
Capybara::StringNode)
2010-11-21 14:37:45 +01:00