Skip to main content

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

Project description

[mozrunner](https://github.com/mozilla/mozbase/tree/master/mozrunner) is a [python package](http://pypi.python.org/pypi/mozrunner) which handles running of Mozilla applications. mozrunner utilizes [mozprofile](https://github.com/mozilla/mozbase/tree/master/mozprofile) for managing application profiles and [mozprocess](https://github.com/mozilla/mozbase/tree/master/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](https://github.com/mozilla/mozbase/tree/master/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](https://github.com/mozilla/mozbase/blob/master/mozrunner/mozrunner/runner.py) 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](http://seleniumhq.org/): http://code.google.com/p/selenium/source/browse/trunk/py/selenium/webdriver/firefox/firefox_binary.py

Project details


Release history Release notifications

History Node

7.0.1

History Node

7.0.0

History Node

6.15

History Node

6.14

History Node

6.13

History Node

6.12

History Node

6.11

History Node

6.10

History Node

6.9

History Node

6.8

History Node

6.7

History Node

6.6

History Node

6.5

History Node

6.4

History Node

6.3

History Node

6.2

History Node

6.1

History Node

6.0

History Node

5.37.2

History Node

5.37.1

History Node

5.37

History Node

5.36

History Node

5.35

History Node

5.34

History Node

5.33

History Node

5.32

History Node

5.31

History Node

5.30

History Node

5.29

History Node

5.28

History Node

5.27

History Node

5.26

History Node

5.25

History Node

5.24

History Node

5.23

History Node

5.22

History Node

5.21

History Node

5.20

History Node

5.19

History Node

5.18

History Node

5.17

History Node

5.16

History Node

5.15

History Node

5.14

History Node

5.13

History Node

5.12

History Node

5.10

History Node

5.9

History Node

5.8

This version
History Node

5.7

History Node

5.6

History Node

5.5

History Node

5.4

History Node

5.3

History Node

5.2

History Node

5.1

History Node

5.0

History Node

4.1

History Node

4.0

History Node

3.0rc1

History Node

2.5.16

History Node

2.5.15

History Node

2.5.14

History Node

2.5.13

History Node

2.5.12

History Node

2.5.10

History Node

2.5.9

History Node

2.5.8

History Node

2.5.7

History Node

2.5.6

History Node

2.5.5

History Node

2.5.5pre

History Node

2.5.5b6

History Node

2.5.5b5

History Node

2.5.5b4

History Node

2.5.5b3

History Node

2.5.5b2

History Node

2.5.5b1

History Node

2.5.4

History Node

2.5.3

History Node

2.5.3rc4

History Node

2.5.3rc1

History Node

2.5.2

History Node

2.5.2rc2

History Node

2.5.2rc1

History Node

2.5.1

History Node

2.5.0

History Node

2.4.4b5

History Node

2.4.4b4

History Node

2.4.4b3

History Node

2.4.4b2

History Node

2.4.4b1

History Node

2.4.3

History Node

2.4.2

History Node

2.4.1

History Node

2.4

History Node

2.3.2

History Node

2.3.1

History Node

2.3

History Node

2.2

History Node

2.1

History Node

2.0

History Node

2.0b5

History Node

2.0b4

History Node

2.0b3

History Node

2.0b2

History Node

2.0b1

History Node

2.0a2

History Node

2.0a1

History Node

1.3.5

History Node

1.3.4

History Node

1.3.3

History Node

1.3.2

History Node

1.3.1

History Node

1.3

History Node

1.2

History Node

1.1

History Node

1.0

History Node

0.5.4

History Node

0.5.3

History Node

0.5.2

History Node

0.5.1

History Node

0.5

History Node

0.4.9

History Node

0.4.8

History Node

0.4.7

History Node

0.4.6

History Node

0.4.5

History Node

0.4.2

History Node

0.4.1pre

History Node

0.4

History Node

0.3

History Node

0.2

History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
mozrunner-5.7.tar.gz (6.9 kB) Copy SHA256 hash SHA256 Source None Jun 29, 2012

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page