Jason Frey
7e52370a71
Switch to mini_mime gem from mime-types
2017-06-28 15:35:12 -04:00
Thomas Walpole
8f5f55af89
Fix Ruby warnings during tests
2017-05-31 17:52:11 -07:00
Thomas Walpole
c5d7089e0e
generally prefer ruby 1.9 hash format
2016-10-04 11:10:29 -07:00
Thomas Walpole
6a72a105b5
deprecate rather than remove #browser_initialized? (it was public driver API)
2016-04-04 12:49:44 -07:00
Jonas Nicklas
8d5a7e18ad
Leave it up to the driver to make sure that resetting is synchronous
...
I think that this was a futile attempt to resolve problems with restting sessions which should be much better handled by the addition of `wait_for_pending_requests`.
Closes #1670
2016-04-01 11:40:34 -07:00
Thomas Walpole
07e7777425
frozen literal magic comment
2016-03-07 16:52:19 -08:00
Scott Bonebrake
5665396fc9
Fix issue #1237 so browser doesn't intialize during session reset
2014-09-19 14:18:50 -07:00
Thomas Walpole
eba8eaba40
change node and driver api to use find_xpath and find_css
2013-02-19 09:03:26 -08:00
Thomas Walpole
4a5876d95e
driver can be queried for supported query formats and support for native css queries within a scope
2013-02-18 12:35:24 -08:00
Thomas Walpole
4f805d5a1c
dont convert css to xpath
2013-02-16 13:26:01 -08:00
molfar
8df6ed16ec
Add #title method to Capybara::Node::Document
2013-02-06 21:36:55 +02:00
Jonas Nicklas
ae7c56446d
Make source a true alias of html, closes #871
2012-11-20 14:24:39 +01:00
Jo Liss
954fcc69a3
Rename Driver#body to Driver#html
...
For historical reasons, Session#html used to delegate to Driver#body,
(but Session#body & Session#source delegate to Driver#source). This
commit puts an end to this confusing state of affairs.
This change requires driver authors to update their drivers.
2012-09-10 03:17:15 +02:00
Jonas Nicklas
ec56c52834
Make redirect_limit a driver option instead
2012-07-12 17:03:28 +02:00
Jonas Nicklas
3b44c7da59
Change follow redirects into a driver option, closes #730
...
Thanks Thorben Schröder!
2012-07-12 16:57:34 +02:00
Jonas Nicklas
6ee24aed9c
respect_data_method for rack test defaults to false
, closes #478
...
*prepares for storm of outrage*
2012-07-12 14:39:31 +02:00
Jonas Nicklas
68c44fa735
Set default for respect data method to true
2011-09-04 20:26:14 +02:00
Jonas Nicklas and Kim Burgestrand
0188693ced
Added option for rack-test driver to disable data method hack closes #184
2011-08-30 11:20:29 +02:00
Jonas Nicklas
a00435d630
Added :headers option to rack_test driver, closes #328
2011-04-25 11:35:57 +02:00
Jonas Nicklas
fd5996f5f7
Fixed some failing stuff
2011-04-08 16:14:05 +01:00
Jonas Nicklas
8ce6d4eb9d
Split up rack-test driver into multiple classes
2011-04-05 17:42:12 +02:00