For debugging purposes it is helpful when enum and struct
definitions are using derive Debug.
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 989cfcb7ab23ab356b2bf77ff37a37ab1c7be89d
committer: jgraham <james@hoppipolla.co.uk>
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 5d1bcd860f19a0275cc110d8e86d62788ce5319a
The WebDriver specification recently introduced an additional "state"
field for the window rect.
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 2b54d3d8ad30f25b0df9b186661be15de4e280fb
committer: jgraham <james@hoppipolla.co.uk>
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : bc62b14208282b2725e3c3ef476f840b16315418
The WebDriver spec has been changed a while ago to support "direct"
as proxyType. So "noproxy" is no longer a valid proxy type.
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: d4c7c73af12a38c3723750f32370197ab6130c67
committer: Andreas Tolfsen <ato@sny.no>
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : fd64dcba6fd8742cdac87d4d00aa42baa6b31b75
* Implement the minimize window for webdriver-rust
Symptom: Now webdriver-rust cannot minimize window
Root Cause: No minimize command
Solution: Add the minimize command
Project: webdriver-rust
Note: After add this patch
Then add one in geckodriver
Then add support in firefox(marionette)
At last add patch in selenium(firefox webdriver)
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 37b661f0d103ecde3f4bb87962142d054812f767
committer: jgraham <james@hoppipolla.co.uk>
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 282e0b54fb349de5df15c05a2fb530af18931ed8
* response: add single cookie response type
The WebDriver specification mandates that the GetNamedCookie command
should return a cookie serialisation object, and not an array of
cookies.
This patch introduces WebDriverResponse::Cookie and CookieResponse types
to allow WebDriver implementations to return single cookie objects.
Fixes: https://github.com/mozilla/geckodriver/issues/463
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 9b49e5a6ec370e0da09521bfedcc596427c93cd5
committer: jgraham <james@hoppipolla.co.uk>
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 097a285a79103c45e6274b6d48a5e8892d1272ca
* Implement Fullscreen command support
This adds the HTTP endpoint and command structures for supporting the
Fullscreen command as in
https://w3c.github.io/webdriver/webdriver-spec.html#fullscreen-window
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 7ce4ae6266c73547a50b974355e1ef5fa426924c
committer: jgraham <james@hoppipolla.co.uk>
--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : ce4f326dd0c9b52fda1bb8c553e6912d11034a1b
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