Commit graph

214 commits

Author SHA1 Message Date
James Graham
98cb65ca0a Wait for the root pipeline to become ready before running webdriver commands. 2015-05-14 10:59:16 +01:00
James Graham
28ac0abf6a Make WebDriver Get() command wait on pages loading before returning.
This makes using WebDriver significantly less racy. Also
refactors the message structure a little
2015-05-14 10:59:10 +01:00
bors-servo
263b69cf7f Auto merge of #6008 - jgraham:webdriver_get_active_element, r=jdm
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6008)
<!-- Reviewable:end -->
2015-05-11 12:33:26 -05:00
James Graham
6e639de664 Add support for getActiveElement webdriver command 2015-05-11 17:31:23 +01:00
James Graham
5f4c66e6d5 Add basic browser capabilities 2015-05-11 17:30:06 +01:00
James Graham
9e44206760 Add WebDriver support for getting elements by selector.
Also adds example support for getting the name and text properties of the elements.
2015-05-08 22:25:37 +01:00
James Graham
5311d9ab59 Support WebDriver takeScreenshot command.
This adds support for compositing to a PNG without actually quiting
the browser.
2015-05-07 09:56:15 +01:00
James Graham
1576107c45 Implement webdriver commands for back/forward/title/handles. 2015-05-06 12:22:10 +01:00
Simon Sapin
ef8edd4e87 Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8. 2015-05-05 10:07:34 -04:00
Prabhjyot Singh Sodhi
b980278d90 Uniformise the various Msg types [#5882] 2015-04-30 01:22:16 +05:30
Adenilson Cavalcanti
7ebb30edb5 Squashing a warning on WebDriver. 2015-04-23 14:20:01 -07:00
James Graham
c2fc6e311a Add script execution support via WebDriver 2015-04-23 16:14:27 +01:00
James Graham
009e2baaf0 Add enough Webdriver support to enable Get().
This is incomplete in several ways:

* It assumes that there's only one constellation (i.e. top level browsing context), ever.
* The session support is very basic indeed (no capabilities)
* Passing channels over channels may not sit well with IPC
* The error handling is mostly missing
2015-04-16 16:02:43 +01:00
Josh Matthews
5728799479 Get the barest bones of webdriver integration ready for keeners. 2015-04-06 18:22:32 -04:00