From e40493b91abd5fb51ffc867125aaa9213a99e7cd Mon Sep 17 00:00:00 2001 From: Henrik Skupin Date: Thu, 13 Oct 2022 06:21:42 +0000 Subject: [PATCH] Bug 1750691 - [geckodriver] Release version 0.32.0. r=webdriver-reviewers,jgraham Differential Revision: https://phabricator.services.mozilla.com/D159156 --- Cargo.lock | 2 +- testing/geckodriver/CHANGES.md | 67 +++++++++++++++++++++++------- testing/geckodriver/Cargo.toml | 2 +- testing/geckodriver/doc/Support.md | 5 +++ 4 files changed, 59 insertions(+), 17 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 13b1c452029a..1528dcde8506 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2004,7 +2004,7 @@ dependencies = [ [[package]] name = "geckodriver" -version = "0.31.0" +version = "0.32.0" dependencies = [ "base64", "chrono", diff --git a/testing/geckodriver/CHANGES.md b/testing/geckodriver/CHANGES.md index e84c394d5f65..511179a81601 100644 --- a/testing/geckodriver/CHANGES.md +++ b/testing/geckodriver/CHANGES.md @@ -3,6 +3,55 @@ All notable changes to this program are documented in this file. +## 0.32.0 (2022-10-13, ``) + +### Added + +- Support `wheel` input source for [Actions], which is associated with a + wheel-type input device. This endpoint is supported by geckodriver when + using Firefox version ≥106. + +- Support `touch` as `pointerType` for `pointer` input source for [Actions], + which is associated with a touch input device. This also includes the + addition of all the remaining properties for `pointer` input sources as + specified by WebDriver. This endpoint is supported by geckodriver when using + Firefox version ≥104. + +### Fixed + +- Using geckodriver to launch Firefox inside a sandbox -- for example + a Firefox distribution using Snap or Flatpak -- can fail with a + "Profile not found" error if the sandbox restricts Firefox's ability + to access the system temporary directory. geckodriver uses the + temporary directory to store Firefox profiles created during the run. + + This issue can now be worked around by using the `--profile-root` + command line option or setting the `TMPDIR` environment variable to + a location that both Firefox and geckodriver have read/write access + to e.g.: + + % mkdir $HOME/tmp + % geckodriver --profile-root=~/tmp + + or + + % TMPDIR=$HOME/tmp geckodriver + + Alternatively, geckodriver may be used with a Firefox install that + is not packaged inside a sandbox e.g. from [mozilla.org]. + +- The sandboxed Firefox binary is now automatically detected when geckodriver + is used from within a Snap confinement. + + Implemented by [Olivier Tilloy]. + +- The backup of the original Firefox preferences are now correctly restored + on Android when the WebDriver session ends. + +### Changed + +- Update dependencies + ## 0.31.0 (2022-04-11, `b617178ef491`) ### Known problems @@ -15,20 +64,8 @@ All notable changes to this program are documented in this file. to access the system temporary directory. geckodriver uses the temporary directory to store Firefox profiles created during the run. - This issue can be worked around by using the `--profile-root` - command line option or setting the `TMPDIR` environment variable to - a location that both Firefox and geckodriver have read/write access - to e.g.: - - % mkdir $HOME/tmp - % geckodriver --profile-root=~/tmp - - or - - % TMPDIR=$HOME/tmp geckodriver - - Alternatively, geckodriver may be used with a Firefox install that - is not packaged inside a sandboxed e.g. from [mozilla.org]. + As workaround geckodriver may be used with a Firefox install that + is not packaged inside a sandbox e.g. from [mozilla.org]. - _macOS 10.15 (Catalina) and later:_ @@ -1656,7 +1693,6 @@ and greater. [David Burns]: https://github.com/AutomatedTester [Jason Juang]: https://github.com/juangj [Jeremy Lempereur]: https://github.com/o0Ignition0o -[Joshua Bruning]: https://github.com/joshbruning [Kalpesh Krishna]: https://github.com/martiansideofthemoon [Kriti Singh]: https://github.com/kritisingh1 [Mike Pennisi]: https://github.com/jugglinmike @@ -1665,3 +1701,4 @@ and greater. [Shivam Singhal]: https://github.com/championshuttler [Sven Jost]: https://github/mythsunwind [Vlad Filippov]: https://github.com/vladikoff +[Olivier Tilloy]: https://github.com/oSoMoN diff --git a/testing/geckodriver/Cargo.toml b/testing/geckodriver/Cargo.toml index 4e0aa8447b4b..c5cd6bd6a851 100644 --- a/testing/geckodriver/Cargo.toml +++ b/testing/geckodriver/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "geckodriver" -version = "0.31.0" +version = "0.32.0" description = "Proxy for using WebDriver clients to interact with Gecko-based browsers." keywords = ["webdriver", "w3c", "httpd", "mozilla", "firefox"] repository = "https://hg.mozilla.org/mozilla-central/file/tip/testing/geckodriver" diff --git a/testing/geckodriver/doc/Support.md b/testing/geckodriver/doc/Support.md index 8dd42be242e8..27bb666c10d9 100644 --- a/testing/geckodriver/doc/Support.md +++ b/testing/geckodriver/doc/Support.md @@ -22,6 +22,11 @@ and required versions of Selenium and Firefox: max + + 0.32.0 + ≥ 3.11 (3.14 Python) + 102 ESR + n/a 0.31.0 ≥ 3.11 (3.14 Python)