Commit Graph

14 Commits

Author SHA1 Message Date
Jonas Nicklas 741c153cb4 Allow partial matches for submit/button values 2009-12-29 10:13:09 +01:00
Lenny Marks ee49df6561 Pulled out find/have methods into Searchable module to be shared by Session and Node(for relative searching) 2009-12-24 00:41:34 -05:00
Jonas Nicklas 6204142a8c Revert "added click_element with specs (only works in webdriver so far)"
I think I changed my mind about this, I think this method clutters the API

This reverts commit 7b8e6a640d.
2009-12-17 18:22:12 +01:00
Andrew Brown 7b8e6a640d added click_element with specs (only works in webdriver so far) 2009-12-16 13:43:15 +01:00
Jonas Nicklas ce914ed48e Added support for labels without 'for' Closes #18 2009-12-15 23:31:57 +01:00
Jonas Nicklas 34e064fa4c Add field doesn't need a block 2009-12-15 23:27:52 +01:00
Jonas Nicklas 72d01848da Expose append and prepend as public for xpath 2009-12-13 15:02:25 +01:00
Jonas Nicklas bb2b98cc30 Merge remote branch 'robholland/master'
Conflicts:
	lib/capybara/session.rb
2009-12-12 22:09:35 +01:00
Jonas Nicklas 9c9f3684a9 Moved waiting back into session where it belongs
Also expose the new wait_for method
As an added bonus, find and all now accept XPath
instances and handle them correctly
2009-12-12 21:46:08 +01:00
Jonas Nicklas ae48b83ded Correct problem with partial matches 2009-12-09 21:53:12 +01:00
Jonas Nicklas 8b31aba0b1 Find exact label matches before partial matche 2009-12-09 20:25:48 +01:00
Jonas Nicklas 75730ef137 Move button and link xpaths into XPath class 2009-12-09 19:17:01 +01:00
Jonas Nicklas 39081f3c7d Move fieldset, table and content into xpath class 2009-12-09 19:11:52 +01:00
Jonas Nicklas 8d44e8cb74 Added fancy XPath generation class 2009-12-09 19:03:55 +01:00