Граф коммитов

103 Коммитов

Автор SHA1 Сообщение Дата
Henrik Skupin d361d3aadb Bug 1391605 - Bump geckodriver to 0.19.0. r=ato
MozReview-Commit-ID: 4ai3ShcNhdS

--HG--
extra : rebase_source : bd255ed9864e484cb3ac395d999d5d5ac6c44425
2017-09-14 18:08:28 +02:00
Henrik Skupin 43678cf327 Bug 1398057 - Not all command arguments are printed to the log. r=jgraham
By logging the used browser arguments from geckodriver only the
-marionette argument ends up in the log. Instead mozrunner should
be used which knows about any of them.

MozReview-Commit-ID: J9px0pWSwQm

--HG--
extra : rebase_source : 36730f7c2ecffa7a28dda3d16404f523bd075d35
2017-09-13 09:15:42 +02:00
Henrik Skupin 71551dcd13 Bug 1388251 - Bump mozrunner crate to version 0.5.0. r=jgraham
MozReview-Commit-ID: IhMuuz7EWv3

--HG--
extra : rebase_source : 0fef4fa63e5b808b9b163f04f3f79c1cfe68dbda
2017-09-11 20:43:43 +02:00
Andreas Tolfsen c722f88ac8 Bug 1368265 - Update geckodriver and webdriver Cargo.tomls. r=automatedtester
MozReview-Commit-ID: 6MsrxinrYEp

--HG--
extra : rebase_source : c0f5b076183c53c86aae0e757b6ef391f1eba8c1
2017-09-03 16:24:55 +01:00
Andreas Tolfsen 8e1b5b4d8b Bug 1368265 - Use in-tree testing/webdriver. r=automatedtester
MozReview-Commit-ID: R74BGZOBBx

--HG--
extra : rebase_source : 263d5cdf7317bdea6b4bcf3d2b7256429da9d4cf
2017-09-03 16:15:48 +01:00
Henrik Skupin 700634d241 Bug 1369827 - Upgrade webdriver crate to 0.30. r=ato
MozReview-Commit-ID: GRWyIULr0ly

--HG--
extra : rebase_source : 9661736af2db4f6655cd43a36e45b8caf09a32ef
2017-08-15 12:32:06 +02:00
Henrik Skupin 2c0bc01a9a Bug 1388249 - Upgrade to mozrunner 0.4.2. r=jgraham
MozReview-Commit-ID: 5cexJ4uJnB1

--HG--
extra : rebase_source : b643bb0fa203bee5bda765fea62f515a139a55d5
2017-08-23 12:25:03 +02:00
Andreas Tolfsen a68cdde16c Bug 1388365 - Upgrade to webdriver 0.29.0. r=whimboo
Upgrades the webdriver crate dependency to 0.29.0, which contains some
backwards incompatible changes for RectResponse.  This type has been
split in two, WindowRectResponse and ElementRectResponse.

The former type contains a new "state" field which is already implemented
by Marionette.  Because geckodriver is used with a range of earlier
Firefoxen, it defaults to "normal" window state if the field is not
returned from Marionette.  This is acceptable.

MozReview-Commit-ID: FRxppRVmiZl

--HG--
extra : rebase_source : 4a86659f337598bb4f5623c51f5df288c8a5dd69
2017-08-08 15:09:45 +01:00
Yangyi Peng f2b8c04562 Bug 1380936 - Add Minimize Window command to geckodriver; r=ato
MozReview-Commit-ID: Le6rAUMDjwe

--HG--
extra : rebase_source : 2120abbe4a4c57be3d669f02e29dc2ac03b1a90f
2017-08-01 11:42:58 +08:00
Andreas Tolfsen 2ec9000e7f Bug 1379482 - Release geckodriver 0.18.0; r=jgraham
MozReview-Commit-ID: LDb9G7srbcz

--HG--
extra : rebase_source : bd2592ba2827c7e775cda854f4e77807a784bded
2017-07-10 16:53:01 +01:00
Andreas Tolfsen 2775e687c8 Bug 1379482 - Update geckodriver repository address; r=jgraham
The canonical geckodriver source code no longer lives on GitHub, but
in mozilla-central's testing/geckodriver directory.  Linking through
searchfox.org because it provides a better UI than hg.mozilla.org.

MozReview-Commit-ID: LmnviuC7Z9Y

--HG--
extra : rebase_source : 23f0e669bd719c595300d4e7ac38bc12f4937f57
2017-07-10 14:47:17 +01:00
Andreas Tolfsen 27406dfcac Bug 1379482 - Upgrade mozrunner to 0.4.1; r=jgraham
Upgrades the mozrunner crate dependency by pinning it to 0.4.1.  With `./mach vendor rust' I could not find any other way to force a new version to be downloaded because cargo, as far as I understand, does not yet support using crates.io as a fallback.

This patch also pins the mozprofile and mozversion dependencies exactly, although this is strictly not needed yet because they we have the latest versions vendored in-tree.

MozReview-Commit-ID: 8emDKbiYd0S

--HG--
extra : rebase_source : c153506f481255b2f9362e94da3254013ad522ab
2017-07-10 16:52:41 +01:00
David Burns 4691012f79 Bug 1371405 - Update vendored WebDriver crate; r=jgraham
This updates the vendored WebDriver crate to 0.27.0

MozReview-Commit-ID: HM6MIU9IDAq

--HG--
extra : rebase_source : 137941518076a8d99e5b8c40ac67ad60d9f205b9
2017-06-19 15:42:25 +01:00
Sebastian Hengst d4d94c196f Backed out changeset 010032851619 (bug 1371405) 2017-06-20 21:23:05 +02:00
David Burns 34d225aec8 Bug 1371405 - Update vendored WebDriver crate; r=jgraham
This updates the vendored WebDriver crate to 0.27.0

MozReview-Commit-ID: HM6MIU9IDAq

--HG--
extra : rebase_source : c3b6cb7d0e2b7f7423d7880a936df52d081cd867
2017-06-19 15:42:25 +01:00
Carsten "Tomcat" Book 3851092f35 Backed out changeset 289753493fdf (bug 1371405) 2017-06-20 16:03:46 +02:00
David Burns 4e394ad086 Bug 1371405 - Update vendored WebDriver crate; r=jgraham
This updates the vendored WebDriver crate to 0.27.0

MozReview-Commit-ID: HM6MIU9IDAq

--HG--
extra : rebase_source : 080e3a35972079b86b03b731e83e5171c5918da4
2017-06-19 15:42:25 +01:00
Henrik Skupin 34e680df7b Bug 1369709 - Release geckodriver 0.17.0. r=ato
MozReview-Commit-ID: 9I4FM2TCBez

--HG--
extra : rebase_source : da4fb291067a585ae3e9d8f70be1b0ebd770908e
2017-06-07 20:45:18 +02:00
David Burns a7b15fe05b Bug 1370510: Implement Fullscreen Window command r=jgraham
This implements the geckodriver support for the Fullscreen Window command.
The API was introduced in the webdriver crate in
https://github.com/mozilla/webdriver-rust/pull/100

MozReview-Commit-ID: 3eIuLmGWl2x

--HG--
extra : rebase_source : 55b38b1ff2850d44b79270194874e7418d34a907
2017-06-07 12:42:30 +01:00
Henrik Skupin 6ed7ad2776 Bug 1369708 - Avoid setting of default preferences by mozrunner. r=ato
Update dependencies for mozrunner (0.4) and mozprofile (0.3) to
stop setting default preferences by mozrunner. This will also allow
to overwrite all preferences now via the moz:firefoxOptions capability.

MozReview-Commit-ID: IU0oKzRnnfG

--HG--
extra : rebase_source : 7f8946f7e22af9beebaddc52c78d549ddc898c87
2017-06-02 14:40:29 +02:00
Andreas Tolfsen eda48cff40 Bug 1340637 - Provide build rules for geckodriver; r=jgraham,ted
geckodriver is the Mozilla implementation of the WebDriver remote
control interface for Gecko, and provides an HTTPD proxy that
translates the WebDriver protocol to Marionette.

Building this as part of the Firefox build will allow us to run
WPT WebDriver tests to verify our implementation of Marionette and
geckodriver.  It also makes it less painful to make changes across
projects.

This change will cause the geckodriver program to be built as part
of regular Firefox builds, except on macOS and Android, and when artifact
builds are enabled.

RUST_PROGRAMS in cross-compile environments cause the wrong linker to
be used.  When this bug is fixed, we should be able to enable building
of geckodriver on macOS.  This work is tracked in:

	https://bugzilla.mozilla.org/show_bug.cgi?id=1329737

On Android, we may one to build a binary for the host system to use
(x86_64), instead of an ARM binary for the emulator.

MozReview-Commit-ID: FG5tmPv4iut

--HG--
extra : rebase_source : 091728fd2582458325689fc6e3d8b317428802d8
2017-05-23 14:55:54 +01:00
Andreas Tolfsen cd42e36f6d geckodriver: cargo: release 0.16.1
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: dd567ba607b71aba72970840f8e61ec91f1489dd

--HG--
extra : rebase_source : 66d2d9535d91ca7fa173e3da93eeb9a603dda7d6
2017-04-26 13:59:45 +01:00
Andreas Tolfsen 5dc25c25ba geckodriver: cargo, changes, readme: release v0.16.0 (#664)
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 03f50a7fb12be47e61234020d902891c5eec840e

committer: GitHub <noreply@github.com>

--HG--
extra : rebase_source : aafcf7e4cded0edc9554d4334753f7e9ad9a9c6e
2017-04-21 16:07:01 +01:00
Andreas Tolfsen c46c437826 geckodriver: cargo, marionette: upgrade to webdriver 0.25.0
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 8dd4d2ae567a99d6dba9060cfadecf3acea8823d

--HG--
extra : rebase_source : 683f5d9ab463dd2a00cde705bcaede68ecbaecb0
2017-04-10 13:36:27 +01:00
James Graham 6329d1b840 geckodriver: Support the new version of the new session command.
Support the alwaysMatch/firstMatch new session command. Move the
capabilities handling into geckodriver as far as possible so that
marionette itself should not be rejecting sessions (as this is
expensive and can only happen after gecko starts). Use mozversion to
provide (currently somewhat hacky) version number matching for the
browserVersion capability.

Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 6f1e3c192463342a0a49f5f3f0af914ad0e1ae7a

committer: Andreas Tolfsen <ato@mozilla.com>

--HG--
extra : rebase_source : eec91abc5dcab0f35cd758ad1900a5d15988bd0d
2017-03-27 19:39:21 +01:00
James Graham bea0aabeed geckodriver: Update version number for release
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 11656587d1879ef858e865cb0c770075e1658e6c

--HG--
extra : rebase_source : d5c79b209b478e2c25765eebdd06b20402d8f84a
2017-03-08 11:34:04 +00:00
Andreas Tolfsen 999b4513d4 geckodriver: cargo: upgrade to webdriver v0.23.0
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: bee0209683503998ab7564de6a20eb8d1d41fa2c

committer: jgraham <james@hoppipolla.co.uk>

--HG--
extra : rebase_source : 4b0e6e8370aff7c725e4a62a4ae6ff72e9cf4bda
2017-03-03 16:38:14 +00:00
James Graham c50b7c4a10 geckodriver: Update to webdriver 0.22
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: d41e06d30e21f9bf5832c1b6c728119cb496a11c

committer: Andreas Tolfsen <ato@mozilla.com>

--HG--
extra : rebase_source : d58aff61bd0af08e318bf65620cf51114fe8b630
2017-02-27 17:32:18 +00:00
Andreas Tolfsen 761fb7defd geckodriver: cargo, marionette: upgrade to webdriver 0.21.0
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 09231df3527c0c37f2cc2210072683d6d8cbdbf5

--HG--
extra : rebase_source : 2515f67c547c9d09b295f87f1bc7828b8b3a1ff2
2017-02-24 17:44:11 +00:00
Andreas Tolfsen 2e06093f21 geckodriver: cargo: bump version number to 0.14.0
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: a49be92cc43391168fe89e833135b4d57fa5a3e8

--HG--
extra : rebase_source : e3bc625479e8b85215878f892d75e8aebd3a5ac7
2017-01-31 17:07:17 +00:00
Andreas Tolfsen 33654bc7d7 geckodriver: cargo: can only have five keywords
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 186cc1ed029eaf751dd7bdbceb24ec0293640c24

--HG--
extra : rebase_source : 9da10c1963b6df8fda8542d48f6f04dbde198ca8
2017-01-31 17:02:28 +00:00
Andreas Tolfsen dc6c095dbc geckodriver: cargo: update dependencies
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: d7d9ac65061f5ac4940751ec42bdaf488278ced7

--HG--
extra : rebase_source : 2d54097afe299bba37043c2ac27ca7f2329443d5
2017-01-31 17:01:54 +00:00
Andreas Tolfsen 42e6702c3c geckodriver: cargo, geckodriver, marionette: upgrade to webdriver v0.20 (#448)
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 6c161a2fe3cff818bcb5cf30cee92256229926de

committer: GitHub <noreply@github.com>

--HG--
extra : rebase_source : de2246bbe0a2f177ea11a7264622184bbd96b481
2017-01-30 17:15:47 +00:00
James Graham 3b62ee0a72 geckodriver: Update version number for release
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 008f5fc67278e98478fe846e39b4b3bb57106d1b

--HG--
extra : rebase_source : 7d9c936f9ab4cab4d39c1660fa136da0e79c1a91
2017-01-06 17:55:39 +00:00
James Graham fbb4335ad1 geckodriver: Update dependencies.
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 1d0a16f044a36892ed4ac3b6321906bc534e2cc4

committer: jgraham <james@hoppipolla.co.uk>

--HG--
extra : rebase_source : be91294ad7e84150c2172e2c75bb297df6f68a87
2017-01-06 17:44:18 +00:00
James Graham d130be03ec geckodriver: Update to webdriver 0.18
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: cd5b8279ecbb61ffdf20b58bfc1ee1ca6c5a4707

committer: jgraham <james@hoppipolla.co.uk>

--HG--
extra : rebase_source : 2a96a6b09640be7e0c91daf46cd9675231867663
2017-01-06 17:44:18 +00:00
Andreas Tolfsen b86dbb4447 geckodriver: cargo: bump version number to 0.12.0
Happy new year!

Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 45f124564d90effe28973764241c750a724662fe

--HG--
extra : rebase_source : e3e3939ca1d138b3d3f035ef9ca93a36ee5bb091
2017-01-03 19:34:30 +00:00
Maja Frydrychowicz b0ce2fa92e geckodriver: Bump webdriver dependency to 0.17.1 (#416)
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 0832fe7f567a031487103c882e828a37f0bd6ad0

committer: Andreas Tolfsen <ato@mozilla.com>

--HG--
extra : rebase_source : ca6cb06c3d6138b7a1d9923d40f740fe623c2f88
2017-01-03 19:22:42 +00:00
Andreas Tolfsen d05b1e5d83 geckodriver: logging: use synchronous logging
Asynchronous logging through slog has the downside that its buffer does
not flush on flushing the system's stderr.

Using synchronous logging should not have any notable performance
downsides for geckodriver.

Fixes #401.

Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: fdc2804ef05e450cd93d0939809c9e2b46645547

committer: David Burns <david.burns@theautomatedtester.co.uk>

--HG--
extra : rebase_source : d810813995fb0b8bf9842b4bfc7e0ed74cc023df
2017-01-03 11:57:08 +00:00
James Graham fedbc39524 geckodriver: Implement dispatch of the new-style actions api
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 3290c87162cdb2c9331f419204ee12ab507d93cf

committer: jgraham <james@hoppipolla.co.uk>

--HG--
extra : rebase_source : d9ae7f52538f46b8e16452e32fd3b082e4c9bbf9
2016-12-08 10:06:18 -10:00
Andreas Tolfsen eca5be7394 geckodriver: main: make webdriver-port arg an alias and not hidden
clap 2.14 introduced aliased arguments, which means we can remove the
workaround using a hidden argument.

Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 5e93a93224ee00a6624f8c3cb32bb17546da9b56

committer: jgraham <james@hoppipolla.co.uk>

--HG--
extra : rebase_source : 028e314aba6e67db1343467b0b348c356412718f
2016-12-02 16:24:11 +00:00
James Graham 21bb8ef44d geckodriver: Update dependencies, including fixing backwards-incompatible change in slog.
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: badd8ac1701d648ef4e443e7e65ff003fee01ef8

committer: Andreas Tolfsen <ato@mozilla.com>

--HG--
extra : rebase_source : 47fa6fb8b50097c4710a468ab435f41e65d19dd7
2016-11-22 19:55:42 +01:00
Andreas Tolfsen a0a3bdcd10 geckodriver: bump to 0.11.1 with correct version number
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: e0dfb15c1001f04d5f8f35deddc367aea5d2ed28

--HG--
extra : rebase_source : 1a87ebd79d04d1f31c36e98f5575100e22007839
2016-10-10 12:32:42 +01:00
Andreas Tolfsen 2e74a41109 geckodriver: bump version number to 0.11.0
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 207df90952807e86c7df9936264d365c9fc8fb8a

--HG--
extra : rebase_source : a55c9bdf2b460b533a18fa2cf525bc884704599f
2016-10-10 12:32:22 +01:00
AutomatedTester 808393b55b geckodriver: Upgrade WebDriver to 0.15
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: d57b178132283b73529a7d44ad728dab144f24cc

--HG--
extra : rebase_source : 00cace832d339fe9a2fb25d1cc80c1fd0bc10d53
2016-10-05 16:21:52 +01:00
Andreas Tolfsen c091124b15 geckodriver: Replace log with slog (#226)
* replace log with slog

The default log library has the disadvantage that it cannot be
reinitialised.  geckodriver needs the ability to set up the logger
again with a log level passed in with the `firefoxOptions.log.level`
capability when a new session request is made.

slog redirects calls to the log crate's `info!()`, `debug!()`, `trace!()`
&c. macros to a drain that we reinitialise when `logging::init(level:
LogLevel)` is called.

As this patch removes the env-logger crate, support for setting the
`RUST_LOG` environment variable is removed with this patch.  The correct
ways to request a log level is to use the `-vv` or `--log LEVEL` flags, or
the `firefoxOptions.log.level` capability as described in the README.md.

This patch also fixes a bug where the capability log level would
override the log level requested by flag in `MarionetteSettings`, causing
subsequent WebDriver sessions to inherit the log level.  For example,
if session 1 used `firefoxOptions.log.level` and session 2 did not,
it would reuse the level from before because `MarionetteSettings` would
not be reset.

Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: bbdda6053ad15864393fe25bc067ad3668f9c047

committer: jgraham <james@hoppipolla.co.uk>

--HG--
extra : rebase_source : 178fe69b0d0f46d57fd95dfe95af40884b3dfe29
2016-09-30 14:59:35 +01:00
Andreas Tolfsen 482564c733 geckodriver: Set log verbosity from capability (#217)
* fix shorthand verbosity flags

* allow firefoxOptions.log.level capability to control logging

The firefoxOptions.log.level capability may optionally be passed to the
New Session command, which will initialise the env_logger and override
the verbosity level requested from command-line flags or the RUST_LOG
environment variable.

When the flags are used these will from now on also enable the env_logger.

* remove default implementation for MarionetteSettings

* raise default log level to info

Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 2277355d9c7c542266d76884c406622d7d6ed24c

committer: jgraham <james@hoppipolla.co.uk>

--HG--
extra : rebase_source : d0ea581f2e91a65de3a08c0b958c43c0565b37d2
2016-09-07 16:27:59 +01:00
Andreas Tolfsen 8eb3e6d84e geckodriver: Merge pull request #218 from andreastt/print-listening
Log listening host and port

Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: acfde732fe4381e63b7e17664c92de9eb339ddfc

--HG--
extra : rebase_source : e05939d34e5abb0d39b6eb3d3a1776d7ecfc1d69
2016-09-07 15:50:00 +01:00
Andreas Tolfsen 643775e3ee geckodriver: add keywords to cargo config
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 8fa43b0edf188c8f84cdeb883c42af7d9016511e

--HG--
extra : rebase_source : 8d86a28246d846440398198a64dc414579c16827
2016-09-01 13:46:47 +01:00
Andreas Tolfsen 440b4273f4 geckodriver: point to readme in cargo config
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 37621fad51c15562e49a0a89f128c1c1445cfef5

--HG--
extra : rebase_source : fdf954a4f12d8a04febabcefffdcbac429894221
2016-09-01 13:38:08 +01:00