Commit Graph

6 Commits

Author SHA1 Message Date
Jonas Nicklas a3a75647c0 Refactored automatic reloading 2011-08-12 13:52:12 +02:00
Jonas Nicklas 20c9538f5d Also be careful when calling finder methods 2011-07-14 09:36:52 +02:00
Jonas Nicklas e907fd785f Fix for Ruby 1.8.7 2011-07-14 09:36:39 +02:00
Jonas Nicklas 941e50132a Elements are automatically reloaded 2011-07-13 17:52:42 +02:00
John Firebaugh 9d6aebdea8 Ensure that matchers work correctly after actions, closes #171
With browser-based drivers, the has_value?, has_select?, and
has_checked_field? matchers (and their negative counterparts)
did not always work correctly. It is not possible to determine
the dynamic state of inputs purely with XPath, because XPath
has access only to the value, selected, and checked _attributes_,
and only the corresponding _properties_ change in response to
user input. This commit replaces the pure XPath implementation
with one that retrieves all matching inputs and then filters the
results using driver-specific means that do reflect user input.
2010-12-31 11:04:36 -08: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