Commit Graph

12 Commits

Author SHA1 Message Date
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
Your Name 9bf7894d31 Removed deprecated stuff 2010-10-29 13:41:49 +02:00
Jonas Nicklas c67dceb537 select/unselect do not require a from option
This way they can more conveniently be called on
a found element. E.g.:

find('#my_select').select('Some option')
2010-10-03 19:15:40 +02:00
Jonas Nicklas d59d7bb3f7 Extract HTML xpaths into XPath gem 2010-08-14 18:35:46 +02:00
Jonas Nicklas a2351b9e7d New, much more powerful XPath DSL 2010-08-14 13:45:33 +02:00
Jonas Nicklas 04e42bf2fa Very first attempt at using XPath for something 2010-08-14 13:45:32 +02:00
Jonas Nicklas 8d341948fd select_option/unselect_option are now called on option node
This means that we can move the find object into
Capybara::Node instead of Capybara::Driver::Node
which gives us AJAX waiting and preference for
exact matches for free.
2010-08-14 13:43:38 +02:00
Jonas Nicklas 3070441cab Find and locate now do the same thing
The distinction was confusing and not helpful
under any circumstances really.
2010-07-19 20:18:16 +02:00
Jonas Nicklas 0ac9be6cbd Documentation for Node actions, deprecated drag 2010-07-17 16:04:07 +02:00
Jonas Nicklas d9511a7090 Correctly pass message option to locate 2010-07-14 23:29:03 +02:00
Jonas Nicklas 083e580aa8 Node#locate takes same options as other Finders 2010-07-10 17:17:23 +02:00
Jonas Nicklas 8bf63ee8e4 Split node class into finders, matchers and actions 2010-07-10 02:20:32 +02:00