- Security Fixes
Added additional checks on the Content-Type header for POST requests to disallow application/x-www-form-urlencoded, multipart/form-data and text/plain.
Added checking of the Origin header for POST requests.
The version number of Firefox is now checked when establishing a session.
Due to the requirement from Apple that all programs must be notarized, geckodriver will not work on Catalina if you manually download it through another notarized program, such as Firefox.
Whilst we are working on a repackaging fix for this problem, you can find more details on how to work around this issue in the [macOS notarization] section of the documentation.
To set environment variables for the launched Firefox for Android, it is now possible to add an env object on moz:firefoxOptions (note: this is not supported for Firefox Desktop)
Support for print-to-PDF
The newly standardised WebDriver [Print] endpoint provides a way to render pages to a paginated PDF representation. This endpoint is supported by geckodriver when using Firefox version ≥78.
Support for same-site cookies
Cookies can now be set with a same-site parameter, and the value of that parameter will be returned when cookies are retrieved. Requires Firefox version ≥79. Thanks to [Peter Major] for the patch.
Firefox running on Android devices can now be controlled from a Windows host.
Setups with multiple connected Android devices are now supported.
Improved cleanup of configuration files. This prevents crashes if the application is started manually after launching it through geckodriver.
Windows and Linux binaries are again statically linked.