The W3C spec requires the American spelling.
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: bdd5efda8cf6acb5be1207a77be86e16e1fb5128
committer: Andreas Tolfsen <ato@mozilla.com>
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 974924ce0fe8300e959b4482d62363a5f48dce94
* server: make log output safe for windows prompt
The characters "←" and "→" are obfuscated in the Windows command
prompt. Use ASCII versions.
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 6de6e225e14b545381719e2e97398bc1a8f87b13
committer: jgraham <james@hoppipolla.co.uk>
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 549018e98173ca5c72e4ecb32c7cf9c0cf363527
This patch splits the decoding of the HTTP request body out to a
separate function, decode_body, on WebDriverMessage. This is in
line with get_session_id, and reduces somewhat the complexity of
WebDriverMessage::from_http.
It also handles rustc_serialize::json::ParserErrors individually, by
making SyntaxError discernable from IoError.
The SyntaxError error handler re-uses the stacktrace produced by the
JSON parser when failing to decode the HTTP request body as JSON.
This improves the readability of the returned error.
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: d7fe400fa903b752b3c90c2c7e80ae9d5719e16b
committer: jgraham <james@hoppipolla.co.uk>
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 90bf8178d66e2871bb00d2e4f9f230941c49e82c
With the new constructor WebDriverError::new_with_stack it is possible
for consumers to set their own stacktraces.
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 46761f45b0e0fe70ec78acf360c492b800c8a60a
committer: jgraham <james@hoppipolla.co.uk>
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 05cf0f383c26314b4954e13bdfe5ae53a7985649
HTTP requests and responses will now be logged in a
similar style as Marionette chatter in geckodriver (following
https://github.com/mozilla/geckodriver/pull/636) and in the Marionette
server in Gecko, by employing arrows.
The logging of responses is reduced from two log entries, to one.
It also makes use of the fmt::Display trait of the status.
For requests, the HTTP method, URI, and full body is included.
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 7e2a2042fa80018c8bce8bddee81ab6985db65f8
committer: jgraham <james@hoppipolla.co.uk>
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 5a35483899ddc0125fef02b221627fa0fc005085
No functional changes, except aligning how we import standard library
functions.
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: c0aabb6c77e00f05da1a90efa258fe5d615373b5
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 33b0ef4a1ea24e0711a149f57d7443f16cc08fab
The WebDriver standard uses the term "JSON error code" and "error code" to
refer to the string identifier of the error type. We should follow suit.
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: fd03b53eb29dd4dea37f41648196c7888905693f
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 0873788dc46ddbd3cd54c47961cb2116c0379506
Several errors were outdated, amongst others element click intercepted,
element not interactable/element not visible, invalid element
coordinates/invalid coordinates, no such cookie, unable to capture screen,
and unknown command.
Fixes: https://github.com/mozilla/geckodriver/issues/579
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 2ea0bb192c7239addb744bd2a7e8fdca4977d990
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 0cac138a692b55c0f6359eb18cb722f0106a7cdf
Introduces new WebDriver commands GetWindowRect and SetWindowRect,
which replace GetWindowSize, SetWindowSize, and GetWindowPosition,
SetWindowPosition.
The routes for the removed commands have been mapped to the new commands
since their input can be used interchangably with the new commands.
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: df8e357427b720fe0be03d4e212cf74323ceb3d3
committer: jgraham <james@hoppipolla.co.uk>
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 973e0527070c0e3b022fda62516ca550416b02d9
This adds two new routes for the GetWindowRect and SetWindowRect commands.
Existing routes for SetWindowPosition, GetWindowPosition, SetWindowSize,
and GetWindowSize has been preserved for backwards compatibility.
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: b4c4c40105f612ade0a4d14f7ac949138d9fceb6
committer: jgraham <james@hoppipolla.co.uk>
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 1d48c43c98ff66cabb23c15fa9bd59be8c7d4af8
This adds a BrowserCapabilities trait. Implementations must call
NewSessionParameters::match_browser with an object implementing this
trait in order to get the set of capabilites that are supported by the
browser and should be used for the current session.
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 3e73b0b6bbbd7bdb438aa54c2e8b249493c4e763
committer: GitHub <noreply@github.com>
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 948ed8a64e9cbf2f680cb373cdb9761075dbd0f4
Remove end points no longer supported by Selenium
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 3adbb41823203c71779f5a19abf377aab93fb22d
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 8a917910bd245d62c3f27079b13907aadaa78c08
In Bug 1347658, negative numbers were allowed for pointer move.
This was added to the WebDriver specification in December.
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 56a1efe45c0bda811da5e785977844a373bd67a3
committer: jgraham <james@hoppipolla.co.uk>
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 0540841c55629dd0077747299d2037df180edfbe
Expect a property called "text" that takes a string.
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: bdc921b9d0c041b7b285efe37b883e671dfcaaa8
committer: David Burns <david.burns@theautomatedtester.co.uk>
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 3db851d5c0b7cc9d49adceba05e8ef08bb6af100
Update version number for release
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 87bbf8cf0808752b92b40d5f5befff38dde6d601
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 05efaf2baf96b24664277c1768dcdd2ea32bbf43
Align timeouts format with spec
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 426ea889f298133c12bdd9a4b107f130d18ac592
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : a985439baad85ea869a576b9bd3fb2b6413d60fa
The WebDriver standard says the stacktrace field on error responses are
implementation-defined, but the field cannot be omitted. The errors
originating from Marionette are passed on without modification and
include the expected stacktrace.
This exposes a backtrace from the Rust crate with the same name for the
errors originating from within the library itself.
Fixes: https://github.com/mozilla/webdriver-rust/issues/63
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 29ed83f0dfe4da5dbb2f143e867f145669812679
committer: jgraham <james@hoppipolla.co.uk>
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : d5fa92627e7e0913349ffadc01efdd19d80a6cb6
Delete session on last window
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: cdddf6c3f8eb7c68decd592d94caff903b56cf0d
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : e062e09a1e31c2802906a7ef2002895829640900
The command for getting a single cookie by name is named ‘Get Named
Cookie’ in the WebDriver specification. We should reflect this name
in the Rust library.
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 7ec65451c99b638655c72e7b9718a374ff60de87
committer: jgraham <james@hoppipolla.co.uk>
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 422c72b26ead80c02f38c47b1e623662d04abfc7
Previously this used String.len() which was incorrect since it counts bytes, not characters.
Moving to a chars() iterator fixes the issue.
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 200afc084c8426b5dbc678a0c85dbb3c20c37777
committer: GitHub <noreply@github.com>
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 3615c68aac49e5f819dc87969e8461f0abbf37c8
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 4f48d52bbef3a6f7a1bf13a740554cedd027f853
committer: James Graham <james@hoppipolla.co.uk>
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 2b72e1ca506c8882e6ec372e791edd0a3a84ba1c
Provides info I was looking for when this came up on Google.
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: a7986df7f2db19b1f648d09a5a6a884afe25369b
committer: James Graham <james@hoppipolla.co.uk>
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 7cd3060dfc35f13aa98aa68b6091e6d1ead0cdc4
Allow calling status command without a session being started
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 4e67bbcf26413c732a43952566c9ec036fa3377e
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : fd2a688dd22b945442617110553fdadf95cc524e
Allow command Status without session id
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: f36bdfc86217c0c694b4d42aba629697351a8368
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 8c795dc7a3f7a3fc0289d585f0d7fbd372080b57
Close Window is the official name of the command for closing windows.
I believe it used to be called just Close some iterations ago.
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: fa6961c34db424e98259f3d392dcba07d1e87695
committer: jgraham <james@hoppipolla.co.uk>
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : d40bed60186c6e95e9212fe07df2cc8a57274122
Instead of Send Alert Text using 'text' it now uses 'value' allowing
us to simplify the parameter checking.
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: a0240f01f13b8e7e8fcc4cc3b0929675e9e3297c
committer: jgraham <james@hoppipolla.co.uk>
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 337e13ac8c2f968fae708ccf92829381d107fd50
* add Get Window Position and Set Window Position commands
Commands are added to the WebDriver specification in
https://github.com/w3c/webdriver/pull/307.
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: d7f04858a9e5dd55dc193e6f9b8c2ea708057a83
committer: jgraham <james@hoppipolla.co.uk>
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : d0a024b5cc7ee9f2a3af218b9ead9ab7ef8f7c7e
This should be throwing a Session Not Created Error as described in
http://w3c.github.io/webdriver/webdriver-spec.html#new-session step 2
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: e9554ddcac3d2b4f66eb606f44ad715b7c003a57
committer: jgraham <james@hoppipolla.co.uk>
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : e70780aeabffaf4f4324eff7edb15352c42a108a
* Add GetElementProperty functionality
This allows to get the value of properties of WebElements and adds
symmetry to GetElementAttribute
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 6c195c9d18b28f45b89375d9a8e8eaa4ab3937c2
committer: jgraham <james@hoppipolla.co.uk>
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : be926b3f3d06a5fdd4b25b5127ee4adb198323d1
disable default feature cookie/secure as to not depend on openssl
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 0f049f38035fe4be454856027c9c07fc1855b90f
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : aa8a03bf3ca2d1cd16b749b9da5b1a516165b384
Add support for capabilites in New Session command
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: a47ba3d93ab667259c839df4e5d11bef778455a4
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : cf6c3e18413f6555b14a9d95b193e05edb3529f8
AddCookieParameters expiry should accept a date
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 86372d85c7bbf3e3f2520994b72a77f0c9eb23b4
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : e7c6ca5723acca02248c76c6a0364c4ec20502be
Add extensions `Nullable` and change `Date`s data visibility to pub
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 16b0099c256b561fd86ba676b68c674ca63b0133
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : c498dc3c15db17f4cc68bc49e1b3b0052414f333
Add in endpoint for GetPageSource
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 04ea4331c409f6925faba9dbc41a44dbcc04e7a2
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 0b8235e5120986563dad16065cd7885ad223a709
Update parameter being used in alert sendKeys
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 875ac848675d72d09d2b9b20ce2fcd4755090131
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 6cbfb999390d1473cb0d5eb53bbc30dbb4c4794e
Implement support for extension commands.
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 1b5007fbea3caf302cb215dbc2ad21e0402344eb
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : da93be69d6f15bb92f6df045071460b2245f1723
Update the HTTP Endpoints to match the current specification
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 7fd0a2aec5722f28a319595cba173e95367b99a7
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : d82f2f8f4a7aef9cc0ff8d551413deba18c26d5c
Set hyper to not build with default-features
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 3d9b4578a425108357cb33012ec14597b9656377
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : a203d85f369901afe62dcf2fad5252f9e88290b1
Update getElementRect to expect floats to be returned to it
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 6c891a20996ed866621eecae5ae29230f22f95fd
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 9bda711ae7a6b7b94d70e35d9c5705ed55eb40a6