Commit Graph

20 Commits

Author SHA1 Message Date
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 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
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
Joe Ferris 18d424803d Invoke Javascript functions by setting QObjects on the window object instead of string evals so that strings don't need to be escaped 2011-02-25 22:57:55 -05:00
Joe Ferris 879eeba471 Return node index list from Javascript as string instead of list so we don't have to join it in C++ 2011-02-25 22:33:47 -05:00
Joe Ferris 54d7df3c4c Moved Javascript code into a .js file that gets loaded into each page 2011-02-25 22:32:22 -05:00
Tristan Dunn c2b90e9301 Remove unneeded variable. 2011-02-25 18:08:43 -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 742092713a Added rspec options 2011-02-24 23:14:52 -05:00
Joe Ferris 0745b1ee1c Initial commit 2011-02-24 23:13:11 -05:00