Skip to content

Commit 4f6a980

Browse files
authored
Import of v0.32.0 (#2052)
1 parent 9b5f85c commit 4f6a980

14 files changed

Lines changed: 927 additions & 652 deletions

CHANGES.md

Lines changed: 62 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,70 @@
33

44
All notable changes to this program are documented in this file.
55

6+
## 0.32.0 (2022-10-13, `4563dd583110`)
7+
8+
### Added
9+
10+
- Support `wheel` input source for [Actions], which is associated with a
11+
wheel-type input device. This endpoint is supported by geckodriver when
12+
using Firefox version ≥106.
13+
14+
- Support `touch` as `pointerType` for `pointer` input source for [Actions],
15+
which is associated with a touch input device. This also includes the
16+
addition of all the remaining properties for `pointer` input sources as
17+
specified by WebDriver. This endpoint is supported by geckodriver when using
18+
Firefox version ≥104.
19+
20+
### Fixed
21+
22+
- Using geckodriver to launch Firefox inside a sandbox -- for example
23+
a Firefox distribution using Snap or Flatpak -- can fail with a
24+
"Profile not found" error if the sandbox restricts Firefox's ability
25+
to access the system temporary directory. geckodriver uses the
26+
temporary directory to store Firefox profiles created during the run.
27+
28+
This issue can now be worked around by using the `--profile-root`
29+
command line option or setting the `TMPDIR` environment variable to
30+
a location that both Firefox and geckodriver have read/write access
31+
to e.g.:
32+
33+
% mkdir $HOME/tmp
34+
% geckodriver --profile-root=~/tmp
35+
36+
or
37+
38+
% TMPDIR=$HOME/tmp geckodriver
39+
40+
Alternatively, geckodriver may be used with a Firefox install that
41+
is not packaged inside a sandbox e.g. from [mozilla.org].
42+
43+
- The sandboxed Firefox binary is now automatically detected when geckodriver
44+
is used from within a Snap confinement.
45+
46+
Implemented by [Olivier Tilloy].
47+
48+
- The backup of the original Firefox preferences are now correctly restored
49+
on Android when the WebDriver session ends.
50+
51+
### Changed
52+
53+
- Update dependencies
54+
655
## 0.31.0 (2022-04-11, `b617178ef491`)
756

857
### Known problems
958

59+
- _Firefox running in Linux Sandbox (e.g. Snap package):_
60+
61+
Using geckodriver to launch Firefox inside a sandbox -- for example
62+
a Firefox distribution using Snap or Flatpak -- can fail with a
63+
"Profile not found" error if the sandbox restricts Firefox's ability
64+
to access the system temporary directory. geckodriver uses the
65+
temporary directory to store Firefox profiles created during the run.
66+
67+
As workaround geckodriver may be used with a Firefox install that
68+
is not packaged inside a sandbox e.g. from [mozilla.org].
69+
1070
- _macOS 10.15 (Catalina) and later:_
1171

1272
Due to the requirement from Apple that all programs must be
@@ -1572,6 +1632,7 @@ and greater.
15721632
[enable remote debugging on the Android device]: https://developers.google.com/web/tools/chrome-devtools/remote-debugging
15731633
[macOS notarization]: https://firefox-source-docs.mozilla.org/testing/geckodriver/Notarization.html
15741634
[Rust]: https://rustup.rs/
1635+
[mozilla.org] https://www.mozilla.org/firefox/
15751636

15761637
[`CloseWindowResponse`]: https://docs.rs/webdriver/newest/webdriver/response/struct.CloseWindowResponse.html
15771638
[`CookieResponse`]: https://docs.rs/webdriver/newest/webdriver/response/struct.CookieResponse.html
@@ -1632,7 +1693,6 @@ and greater.
16321693
[David Burns]: https://github.com/AutomatedTester
16331694
[Jason Juang]: https://github.com/juangj
16341695
[Jeremy Lempereur]: https://github.com/o0Ignition0o
1635-
[Joshua Bruning]: https://github.com/joshbruning
16361696
[Kalpesh Krishna]: https://github.com/martiansideofthemoon
16371697
[Kriti Singh]: https://github.com/kritisingh1
16381698
[Mike Pennisi]: https://github.com/jugglinmike
@@ -1641,3 +1701,4 @@ and greater.
16411701
[Shivam Singhal]: https://github.com/championshuttler
16421702
[Sven Jost]: https://github/mythsunwind
16431703
[Vlad Filippov]: https://github.com/vladikoff
1704+
[Olivier Tilloy]: https://github.com/oSoMoN

0 commit comments

Comments
 (0)