Joe Ferris
558c58babc
Status codes
2011-08-19 10:20:28 -04:00
Matthew Mongeau
81ad8fd130
Implement source and body. Evaluate javascript should return nil when empty
2011-07-29 15:06:41 -04:00
Gabe Berke-Williams
01665e604f
Expose the socket debugger
2011-07-22 14:24:30 -04:00
Christopher Meiklejohn
a90e31d17c
Don't strip unless the result if non-nil; make the error message for this case specific.
2011-07-12 17:20:00 -04:00
Ant Ramm
0aab89eb68
Added server_port to Capybara::Driver::Webkit
2011-07-08 02:17:14 +01:00
Mike Nicholaides
17873240b1
Adding ability to render webpage to a PNG
...
The driver has a #render method which takes a destination file path and
an options hash for setting the dimensions of the browser's viewport
2011-07-03 14:10:53 -04:00
shogo-ohta
ee1388e329
add header support
2011-06-24 13:55:03 +09:00
Aaron Gibralter
c563ed54cb
within_frame
now works. Takes either an index or a frame name/id.
2011-04-20 18:12:03 -04:00
Aaron Gibralter
182cb2e5b7
Working on frame handling. In terms of the QT code, the non-frame-related
...
specs pass with these changes (e.g. mainFrame() => currentFrame() and the new
injectJavascriptHelpers() code in WebPage.cpp).
It seems like the current JS+xpath implementation dives in to iframes already.
Is this desired behavior? I wonder if that works with x-domain iframes? I
doubt it...
Also, this design assumes that we only step one frame down at a time...
Lastly, I'm really not sure how QWebKit decides which frame is currentFrame().
For now, I'm hoping to be able to use the QWebFrame setFocus() method. This
may be a dead end though. We may have to have WebPage manually keep track of
the "current" frame.
2011-04-20 18:12:03 -04:00
Joe Ferris
40804c06ba
Wait and timeout when looking for content
2011-04-14 10:16:56 -04:00
Joe Ferris
3f519cd147
Implemented Driver#execute_script
2011-02-26 14:03:30 -05:00
Joe Ferris
13426ba4c1
Implement Driver#evaluateScript
2011-02-26 13:02:43 -05:00
Joe Ferris
22705199eb
Alias body as source
2011-02-26 10:19:24 -05:00
Joe Ferris
52e9bee48b
Merged Tristan's Url and Source commands
2011-02-26 10:06:11 -05:00
Joe Ferris
934964e6a1
Only create one browser/server during rake test
2011-02-25 23:47:55 -05:00
Tristan Dunn
003529cd9f
Implement source for driver.
2011-02-25 18:04:23 -05:00
Tristan Dunn
92a17ae94e
Implement current_url for driver.
2011-02-25 17:53:36 -05:00
Joe Ferris
e0c4f6f57d
Fetch attribute values
2011-02-25 00:15:08 -05:00
Joe Ferris
d84f5c9a2e
Raise WebkitError for invalid XPath expressions
2011-02-24 23:22:56 -05:00
Joe Ferris
0745b1ee1c
Initial commit
2011-02-24 23:13:11 -05:00