mozilla
geckodriver

WebDriver Classic proxy for automating Firefox through Marionette

Last updated Jul 7, 2026
7.5k
Stars
1.5k
Forks
192
Issues
+2
Stars/day
Attention Score
96
Language breakdown
No language data available.
โ–ธ Files click to expand
README

geckodriver

Proxy for using W3C [WebDriver] compatible clients to interact with Gecko-based browsers.

This program provides the HTTP API described by the [WebDriver protocol] to communicate with Gecko browsers, such as Firefox. It translates calls into the [Marionette remote protocol] by acting as a proxy between the local- and remote ends.

[WebDriver protocol]: https://w3c.github.io/webdriver/#protocol [Marionette remote protocol]: https://firefox-source-docs.mozilla.org/testing/marionette/ [WebDriver]: https://developer.mozilla.org/en-US/docs/Web/WebDriver

Installation

Geckodriver can be installed through various distribution channels:

  • You can download pre-built binaries for the most common platforms from our [Releases] page on GitHub.
  • Alternatively, you can compile it yourself by using:
* cargo install geckodriver, or * Checking out the release branch or a specific tag.

For a detailed list of changes included in each release, please refer to the [change log].

[change log]: https://github.com/mozilla/geckodriver/blob/release/CHANGES.md [Releases]: https://github.com/mozilla/geckodriver/releases/latest

Documentation

  • [WebDriver] (work in progress)
* Commands * Errors * Types * C# API * JavaScript API * Java API * Perl API * Python API * Ruby API * Supported platforms * Firefox capabilities * Capabilities example * Enabling trace logs * Analyzing crash data from Firefox * Building * Testing * Releasing * Self-serving an ARM build

Source code

geckodriver is made available under the [Mozilla Public License].

Its source code can be found in [mozilla-central] under testing/geckodriver. This GitHub repository is only used for issue tracking and making releases.

[Mozilla Public License]: https://www.mozilla.org/en-US/MPL/2.0/ [mozilla-central]: https://hg.mozilla.org/mozilla-central/file/tip/testing/geckodriver

Custom release builds

If a binary is not available for your platform, it's possibe to create a custom build using the [Rust] toolchain. To do this, checkout the release tag for the version of interest and run cargo build. Alternatively the latest version may be built and installed from crates.io using cargo install geckodriver.

[Rust]: https://rustup.rs/

Contact

The mailing list for geckodriver discussion is .

There is also a Matrix channel on chat.mozilla.org to talk about using and developing geckodriver in #webdriver.

๐Ÿ”— More in this category

ยฉ 2026 GitRepoTrend ยท mozilla/geckodriver ยท Updated daily from GitHub