Jon Leighton
a92de2ce2a
Revert "Raise an error if a URL fails to load in response to or ."
...
This reverts commit d902565d8b
.
2012-02-17 08:16:33 +00:00
Jon Leighton
d902565d8b
Raise an error if a URL fails to load in response to or .
2012-02-16 23:58:37 +00:00
Jon Leighton
8b5541d661
Fix #19 . (Page load synchronisation problem.)
2012-02-16 23:40:08 +00:00
Jon Leighton
c20d159434
Fix evaluate_script which fixes the test for prompt()
2012-01-27 17:39:55 +00:00
Jon Leighton
3810618ea0
Check PhantomJS version from Ruby. Fixes #13 .
2012-01-27 17:31:21 +00:00
Jon Leighton
1938eacce4
Handle window.prompt()
2012-01-27 16:53:01 +00:00
Jon Leighton
0ebd617e3c
Handle window.confirm. Fixes #10 .
2012-01-27 16:48:17 +00:00
Jon Leighton
48c3b9787b
Fix element position calculation. Fixes #15 .
2012-01-26 17:57:24 +00:00
Jon Leighton
135098909b
increase timeout, it seems to fail a bit on travis atm
2012-01-13 15:05:54 +00:00
Jon Leighton
34af795960
Stop using EventMachine for WebSocket server.
...
Using EventMachine was causing issues when run alongside Thin.
In general running the event loop is quite slow, presumably because it
is mostly spinning idly wasting cycles (unsure). We were mitigating
this by stopping the thread when it wasn't needed, but this is
incorrect when Thin is also running.
Implemented WebSocket server using raw TCP sockets and a WebSocket
parser provided by faye-websocket. This is faster and neater and removes
the need to dick around with threads.
Fixes #6 .
2012-01-13 14:34:36 +00:00
Jon Leighton
9d7d47cd87
hypothesis: Xvfb needs a sec to get going. maybe
2012-01-11 23:32:24 +00:00
Jon Leighton
f3bc027a57
try not relying on $PATH
2012-01-11 23:19:12 +00:00
Jon Leighton
8ab5c03582
Fix #8
2012-01-11 22:16:35 +00:00
Jon Leighton
036b584969
Remove unnecessary segfault workarounds - segfault issues are fixed with Qt 4.8
2012-01-06 10:54:58 +00:00
Jon Leighton
0027d74f4f
Bugfix: it should be possible to execute multiple lines of JS in the page
2011-11-03 00:24:06 +00:00
Jon Leighton
acbf73e1b7
Fix bug with clicking elements when the size of the document changes ( #4 )
2011-11-03 00:13:20 +00:00
Jon Leighton
fb497cb328
Add support for choosing between rendering the whole page or just part of it.
2011-10-31 23:04:02 +00:00
Jon Leighton
b18225d716
Add a resize command to allow users to resize the browser window
2011-10-31 22:23:52 +00:00
Jon Leighton
afe5c47079
Default the viewport size to 1024x768
2011-10-31 22:14:24 +00:00
Jon Leighton
c5a964c9a8
Detect if the phantomjs client has died, raise an error, and restart it.
2011-10-30 22:48:56 +00:00
Jon Leighton
8745b8bcce
Move TimeoutError up a namespace level, and fix the message
2011-10-30 19:02:37 +00:00
Jon Leighton
acf4969bf7
Print out debug info if there are failures on travis
2011-10-30 18:22:44 +00:00
Jon Leighton
5e19c2d2b4
Move requires
2011-10-28 19:11:40 +01:00
Jon Leighton
0bf7501271
Deal with the ServerManager timeout properly
2011-10-28 19:11:36 +01:00
Jon Leighton
892d48b6f9
Change this test yet again to not rely on ps, and make it allow up to a second for the executable to be called.
2011-10-28 18:52:06 +01:00
Jon Leighton
788db1cf13
Hopefully this will work on travis
2011-10-28 09:32:35 +01:00
Jon Leighton
0ada3f7284
Make this test not rely on /tmp and chmod etc so that it can hopefully run on travis
2011-10-28 00:37:06 +01:00
Jon Leighton
79df68e153
Make this test not rely on /tmp and chmod etc so that it can hopefully run on travis
2011-10-28 00:33:05 +01:00
Jon Leighton
76fe32debd
omg
2011-10-27 23:34:14 +01:00