Jo Liss
47dbcdfdf0
Use rand instead of Random.rand for Ruby 1.8 compatibility
2011-03-04 14:41:55 +01:00
Jo Liss
398e94260d
Allow for more than one save_and_open_page call per second
2011-03-01 21:16:14 +01:00
Jo Liss
3d0867f304
Made save_and_open_page spec less brittle
2011-03-01 21:16:14 +01:00
Jonas Nicklas and Nicklas Ramhöj
021b87f6ba
Selenium driver automatically waits for AJAX requests to finish
2011-02-22 15:53:43 +01:00
Jeff Kreeftmeijer
09ed419f44
Add Capybara.save_page. closes #215
2011-02-13 23:17:29 +01:00
Jeff Kreeftmeijer
a04e0b4d1d
Add a more accurate error message for the Launchy LoadError ( closes #248 )
2011-01-17 12:14:19 +01:00
Guilherme Carvalho
07b74d7513
Adjusting string concatenation on save_and_open_page.rb
2010-11-26 16:55:27 -03:00
Jonas Nicklas
6fa8a5652c
Merge branch 'aspiers-master'
2010-11-21 18:39:39 +01: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
Jonas Nicklas
81fb593f0c
Move Capybara.string to capybara.rb
...
Makes it more officially part of Capybara, instead
of being an afterthought
2010-11-21 14:07:56 +01:00
Adam Spiers
d0b14948ad
Proper fix for https://github.com/jnicklas/capybara/issues/issue/188/
...
Fixes bug in testing for sub-directories of asset_root, and avoids
rewriting with a broken regexp if no such sub-directories are found.
2010-11-14 21:14:52 +00:00
David Chelimsky and Jonas Nicklas
f2fb04f14a
Util function for applying matchers to strings
2010-11-12 14:46:46 -06:00
Adam Spiers
721d6ef33f
Replace inject with slightly more legible select
2010-11-08 10:18:43 +00:00
Adam Spiers
f46df7791f
Fix case where save_and_open_page was mangling URLs in self-closing elements.
...
See https://github.com/jnicklas/capybara/issues/issue/188
2010-11-08 10:09:46 +00:00
Jonas Nicklas
d3ebc53c74
Move utils into own folder
2010-07-10 03:06:44 +02:00