Moreno Carullo
f09ba15637
Support compiling on windows.
2012-03-16 11:59:50 -04:00
Joe Fiorini
7f907a0099
Add command to retrieve URL modified by Javascript
...
If I use pushState to change the URL Browser#current_url still returns
the URL as it was after the original request. This commit adds a command
for RequestedUrl, which is the QtWebkit method for retrieving a URL
modified by Javascript or a redirect.
2012-01-13 11:02:09 -05:00
Joe Fiorini
24ccd1ffca
Fix spec broken in previous commit
2011-11-15 21:14:21 -05:00
Matthew Mongeau
93bfcf6e46
Clean up proxy interface
2011-10-14 17:37:34 -04:00
Niklas Baumstark
229a20e897
remove call to Socket#shutdown
2011-10-14 17:37:34 -04:00
Niklas Baumstark
6a4143c267
fixes wrongly used call to Socket#shutdown
2011-10-14 17:37:34 -04:00
Niklas Baumstark
e442150a6a
close socket after test
2011-10-14 17:37:34 -04:00
Niklas Baumstark
25281b77dc
add option to set an HTTP proxy
2011-10-14 17:37:34 -04:00
Niklas Baumstark
d59e36b8db
remove call to Socket#shutdown
...
refs #176
2011-10-14 16:38:43 -04:00
Niklas Baumstark
a0d4a21fd3
fixes wrongly used call to Socket#shutdown
...
refs #176
2011-10-14 16:38:43 -04:00
Niklas Baumstark
bb8050696c
really shutdown test HTTPS server.
2011-10-14 16:38:43 -04:00
Niklas Baumstark
d348e203a8
kill HTTPS server after usage, don't pollute STDOUT
2011-10-14 16:38:43 -04:00
Niklas Baumstark
a08e5e8794
adds Ruby-side configuration options and specs for ignoring SSL errors.
2011-10-14 16:38:43 -04:00
Matthew Mongeau
3eb366e011
Only allow process that started server to shut it down.
2011-10-14 15:49:19 -04:00
Hongli Lai (Phusion)
dc49e5f875
Forward webkit_server's stdout to Ruby's stdout.
...
This allows console.log() messages to be visible, and prevents
large numbers of console.log() calls from filling up webkit_server's pipe
which would block the process.
2011-08-15 19:04:40 +02:00
Ant Ramm
9fe7301d48
Added test for Capybara::Driver::Webkit and updated spec_helper path in spec/browser_spec.rb
2011-07-08 14:17:38 +01:00
John Barker
88d4a6aa65
Use neater be_between which is also inclusive, since 1024 is unprivileged and 65535 is valid
2011-07-06 20:36:30 +08:00
John Barker
3d39b59071
Add some basic testing for the browser to make sure the random port code is working
2011-07-06 20:30:52 +08:00