Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: third_party/mozrunner/README.md

Issue 108313011: Adding mozilla libraries required by Firefox interop test. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/mozrunner/README.chromium ('k') | third_party/mozrunner/mozrunner/__init__.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 [mozrunner](https://github.com/mozilla/mozbase/tree/master/mozrunner)
2 is a [python package](http://pypi.python.org/pypi/mozrunner)
3 which handles running of Mozilla applications.
4 mozrunner utilizes [mozprofile](https://github.com/mozilla/mozbase/tree/master/m ozprofile)
5 for managing application profiles
6 and [mozprocess](https://github.com/mozilla/mozbase/tree/master/mozprocess) for robust process control.
7
8 mozrunner may be used from the command line or programmatically as an API.
9
10
11 # Command Line Usage
12
13 The `mozrunner` command will launch the application (specified by
14 `--app`) from a binary specified with `-b` or as located on the `PATH`.
15
16 mozrunner takes the command line options from
17 [mozprofile](https://github.com/mozilla/mozbase/tree/master/mozprofile) for cons tructing the profile to be used by
18 the application.
19
20 Run `mozrunner --help` for detailed information on the command line
21 program.
22
23
24 # API Usage
25
26 mozrunner features a base class,
27 [mozrunner.runner.Runner](https://github.com/mozilla/mozbase/blob/master/mozrunn er/mozrunner/runner.py)
28 which is an integration layer API for interfacing with Mozilla applications.
29
30 mozrunner also exposes two application specific classes,
31 `FirefoxRunner` and `ThunderbirdRunner` which record the binary names
32 necessary for the `Runner` class to find them on the system.
33
34 Example API usage:
35
36 from mozrunner import FirefoxRunner
37
38 # start Firefox on a new profile
39 runner = FirefoxRunner()
40 runner.start()
41
42 See also a comparable implementation for [selenium](http://seleniumhq.org/):
43 http://code.google.com/p/selenium/source/browse/trunk/py/selenium/webdriver/fire fox/firefox_binary.py
OLDNEW
« no previous file with comments | « third_party/mozrunner/README.chromium ('k') | third_party/mozrunner/mozrunner/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698