Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A Python module that enables the automation of Firefox

License

NotificationsYou must be signed in to change notification settings

MozillaSecurity/ffpuppet

Repository files navigation

CIcodecovMatrixPyPI

FFPuppet is a Python module that automates browser process related tasks to aid in fuzzing. Happy bug hunting!

Are youfuzzing the browser?Grizzly can help.

Installation

To install the latest version from PyPI
pip install ffpuppet
Xvfb on Linux

On Linuxxvfb can be used in order to run headless (this is not the same as Firefox's-headless mode).

To installxvfb on Ubuntu run:

apt-get install xvfb
Install minidump-stackwalk

minidump-stackwalk is used to collect crash reports from minidump files. Moreinformation can be foundhere.

Browser Builds

If you are looking for builds to use with FFPuppet there are a few options.

Download a build

fuzzfetch is the recommended method for obtaining builds and is also very helpful in automation.

Taskcluster has a collection of many different build types for multiple platforms and branches.An index of the latest mozilla-central builds can be foundhere.

Create your own build

If you would like to compile your own, build instructions can be foundhere. When usingminidump-stackwalkbreakpadsymbols are required for symbolized stacks.

Usage

Once installed FFPuppet can be run using the following command:

ffpuppet <firefox_binary>
Replaying a test case
ffpuppet <firefox_binary> -p <custom_prefs.js> -d -u <testcase>

This will open the provided test case file in Firefox using the provided prefs.js file. Any log data (stderr, stdout, ASan logs... etc) will be dumped to the console if a failure is detected.Grizzly Replay is recommended for replaying test cases.

Prefs.js files

prefs.js files that can be used for fuzzing or other automated testing can be generated withPrefPicker.

About

A Python module that enables the automation of Firefox

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Contributors6


[8]ページ先頭

©2009-2025 Movatter.jp