skip to navigation
skip to content

mozrunner 5.7

Reliable start/stop/configuration of Mozilla Applications (Firefox, Thunderbird, etc.)

Latest Version: 6.14

[mozrunner]( is a [python package]( which handles running of Mozilla applications. mozrunner utilizes [mozprofile]( for managing application profiles and [mozprocess]( for robust process control.

mozrunner may be used from the command line or programmatically as an API.

# Command Line Usage

The mozrunner command will launch the application (specified by –app) from a binary specified with -b or as located on the PATH.

mozrunner takes the command line options from [mozprofile]( for constructing the profile to be used by the application.

Run mozrunner –help for detailed information on the command line program.

# API Usage

mozrunner features a base class, [mozrunner.runner.Runner]( which is an integration layer API for interfacing with Mozilla applications.

mozrunner also exposes two application specific classes, FirefoxRunner and ThunderbirdRunner which record the binary names necessary for the Runner class to find them on the system.

Example API usage:

from mozrunner import FirefoxRunner

# start Firefox on a new profile runner = FirefoxRunner() runner.start()

See also a comparable implementation for [selenium](

File Type Py Version Uploaded on Size
mozrunner-5.7.tar.gz (md5) Source 2012-06-29 6KB