Commit Graph

12 Commits

Author SHA1 Message Date
Thomas Walpole 7b25bf986d Support Capybara 3 current_url/title being for top level browsing context requirement 2018-03-21 10:18:26 -07:00
Matthew Horan c74949bd04 Rename Command::emitFinished to finish 2013-02-11 18:31:41 -05:00
Matthew Horan fe6eff79e6 JavaScript error handling 2013-02-10 23:42:30 -05:00
Sean Geoghegan 77811ca9ba Fix memory leak of response.
Turns Response into a QObject and sets parent to the
command that emits it.

Each Command is also a child of the decorator commands,
Timeout and PageLoading commnds, so that deleting the
top level command will delete all the children.

See discussion in #430.
2012-12-14 01:46:54 -05:00
Matthew Horan c3eb16b87e Remove Qt 4.7 compatibility code from CurrentUrl 2012-11-30 21:38:56 -05:00
Matthew Horan f95e4ebe0b Use old method to find current URL in Qt < 4.8.0 2012-10-23 23:24:42 -04:00
Joe Ferris cae5119eef Fix issues with Qt 4.8 2012-10-23 21:00:50 -04:00
Joe Ferris 95732ad796 Split Command into more abstract Command and concrete SocketCommand 2012-07-08 12:04:30 -07:00
Matthew Horan f80125e6cb Pass the WebPageManager to each command 2012-05-29 22:23:02 -04:00
Dan Ivovich 1ef8f4c844 Store response messages as QByteArray
This prevents conversion of QByteArray to QString from truncating content at a null byte in the QByteArray. This truncation can be a problem if the response body is a binary object (e.g. PDF)

Fixes #322
2012-04-17 12:06:12 -04:00
Joe Ferris 85dcc729dd Pass command arguments to the constructor 2012-03-16 19:58:58 -04:00
Marc Schwieterman caa86b72c4 create CurrentUrl command 2012-02-17 11:55:19 -05:00