1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00
Commit graph

21 commits

Author SHA1 Message Date
Jonas Nicklas
f874b176da Edge cases for links and buttons
Links with anchors, without hrefs, forms without
action.
2010-01-11 21:59:22 +01:00
Jonas Nicklas
a34178859b Gracefully handle infinite redirects
Under rack-test at least. Generalizing this to
all drivers failed miserably.
2010-01-11 21:30:58 +01:00
Jonas Nicklas
43f39b9979 Properly set content type of uploaded file
Uses MIME::Types library to guess the content type
2010-01-07 23:49:09 +01:00
Jonas Nicklas
49cfacba1f Differentiate between source and body
source returns the unmodified page source
body returns the current dom html
2010-01-01 23:58:59 +01:00
Jonas Nicklas
fe07c83f54 More Whitespace! 2010-01-01 22:46:05 +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
Lenny Marks
42c97832ce Node#visible? 2009-12-22 15:13:55 -05:00
Jonas Nicklas
9aec17cbaf Ruby 1.9 compatibility 2009-12-19 11:52:08 +01:00
Lenny Marks
5c22edb7cd Trashing Driver::Base#response in favor of #response_headers. Not supported by all browsers(e.g. Selenium) 2009-12-18 12:50:55 -05:00
Tom Simnett
0732ac5ff2 Added Rack::Test current_url method 2009-12-17 01:47:12 +00:00
Jonas Nicklas
364affa757 Automatically wait for asynchonous loading 2009-12-09 21:43:40 +01:00
Rob Holland
9d4940ee86 Only turn values to arrays if requested with [] naming. Otherwise use the last provided value for the field. 2009-12-04 15:19:00 +00:00
Rob Holland
b4cde1794e Refactor of form submission to let rack-test do more work itself. 2009-12-04 14:51:51 +00:00
Rob Holland
0f5f698194 Properly escape field values when submitting forms. 2009-12-04 12:35:17 +00:00
Rob Holland
b187879751 Use the more obvious map instead of inject and prefer .concat to the slower and more memory hungry +=. 2009-12-03 12:33:45 +00:00
Rob Holland
70fe114518 Fix support for a file input which is not filled in. 2009-12-03 11:56:39 +00:00
Andrea Fazzi
ed56bc7cba Fix buttons specs in order to test the effect of a button's click
Add support for button tag in Driver::RackTest#click
2009-11-29 23:06:44 +01:00
Jonas Nicklas
63bc602f2d Don't send query params from 'action' in GET forms 2009-11-18 22:06:06 +01:00
Jonas Nicklas
c389a0c0d3 Added node class and made driver's nodes inherit 2009-11-17 23:52:22 +01:00
Theo Hultberg and Jonas Nicklas
a8789c612c Added support for GET forms 2009-11-17 23:36:27 +01:00
Theo Hultberg and Jonas Nicklas
6b099a4a33 renamed to capybara 2009-11-16 22:02:16 +01:00
Renamed from lib/webcat/driver/rack_test_driver.rb (Browse further)