Commit Graph

16 Commits

Author SHA1 Message Date
Thomas Walpole 0aa6aa5b43 Add double_click and right_click to element - support in selenium 2013-05-10 10:12:50 -07:00
Ryunosuke SATO 30d5ccc58b Fix method comments 2013-03-29 11:15:07 +09:00
Ivan Navarrete and Jonas Nicklas 1b316b70ab Prevent race conditions in reloading nodes, closes #1009 2013-03-14 10:03:49 +01:00
randoum 6038130f54 Add simple description to exception
Add description to NotSupportedByDriverError exception to help tracking during debugging
2013-03-09 11:51:20 +08:00
Thomas Walpole 15932d5a86 hover implementation 2013-02-25 10:37:25 -08:00
Jonas Nicklas 0f9206fd42 Add option to `text` which makes it possible to return all text, not just invisible text, closes #960 2013-02-17 14:47:32 +01:00
benlovell 7ec047e208 Added disabled? to the node 2013-01-29 09:35:23 +00:00
Jonas Nicklas 266b6947c4 Remove unnecessary overrides of some methods 2012-07-13 20:42:39 +02:00
Jonas Nicklas 453cec449d Do not reload nodes found with #all and #first. closes #713 2012-06-11 17:29:58 +02:00
Jonas Nicklas b100d1c298 Expose Node#wait_until as Node#synchronize 2012-02-01 14:16:17 +01:00
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