Joe Ferris
18607d0966
Try to detect when a command starts a page load and wait for it to finish
2012-01-31 13:57:57 -08:00
Joe Ferris
b4708b2b88
Refactor Connection
2011-10-14 11:57:28 -04:00
Niklas Baumstark
fb119f6ff8
adds cookie management functions to Webkit::Browser
2011-09-30 11:47:21 -04:00
Matthew Mongeau
353fe860b2
Handle unsupported content types gracefully
2011-09-23 10:28:50 -04:00
Matthew Mongeau
7b3d142729
Response headers supported.
2011-08-19 11:57:39 -04:00
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
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
Mike Burns
8cfb09ee4c
Merge branch 'patch-1' of https://github.com/nazgob/capybara-webkit
2011-06-29 15:13:55 -04:00
Mike Burns
d40a1d072f
Merge branch 'http-header' of https://github.com/os0x/capybara-webkit
2011-06-29 15:10:47 -04:00
Lee Hambley
92081dba05
Improve the failure message, make it senseful when trying to discover what a service is from telnet, and a listen port
2011-06-29 19:13:11 +02:00
shogo-ohta
ee1388e329
add header support
2011-06-24 13:55:03 +09:00
Przemek Owczarek
720deef48b
fixed memory leak, memory allocated by new[] was freed by delete instead of delete[]
2011-06-15 08:22:51 -07:00
Joe Ferris
728feeeff7
Fixed subsequent failures when a page fails quickly before the next command begins
2011-05-05 18:27:04 -04:00
Joe Ferris
cc74875e4b
Created a Response object for the success/message pair
2011-05-05 17:55:40 -04:00
Joe Ferris
85ac9c17d5
Fixed attempting to delete NULL commands after pages fail to load; fixed command request/response params overlapping after failures
2011-05-05 09:19:46 -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
Yuichi Tateno
9db603cbea
support utf8 command ( ruby to webkit_server )
2011-04-19 20:51:38 +09:00
Yuichi Tateno
246597c36b
convert to utf8 string
2011-04-19 18:07:42 +09:00
Joe Ferris
a8e64a5f10
Don't create a command until all arguments are received; don't start the next command if a page is still loading
2011-03-09 00:08:30 -05:00
Joe Ferris
3f519cd147
Implemented Driver#execute_script
2011-02-26 14:03:30 -05:00
Joe Ferris
cfb5babae5
Changed the wire protocol so that newlines in arguments don't break everything
2011-02-26 13:38:10 -05:00
Joe Ferris
13426ba4c1
Implement Driver#evaluateScript
2011-02-26 13:02:43 -05:00
Joe Ferris
52e9bee48b
Merged Tristan's Url and Source commands
2011-02-26 10:06:11 -05:00
Joe Ferris
63366bf614
Implemented Node#text; refactored Node commands so that they can be easily added in Javascript
2011-02-25 23:39:29 -05:00
Joe Ferris
3e32892e2b
Refactor Connection/Command so that arguments are passed in as a single QStringList instead of in consecutive calls to argumentReceived
2011-02-25 23:29:36 -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
Tristan Dunn
77ff0b4fc5
Remove debugging output.
2011-02-25 17:44:16 -05:00
Joe Ferris
e0c4f6f57d
Fetch attribute values
2011-02-25 00:15:08 -05:00
Joe Ferris
9f41e030f5
Refactor command lookup so that generated commands can automatically be added
2011-02-24 23:52:57 -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