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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/mozrunner/README.chromium ('k') | third_party/mozrunner/mozrunner/__init__.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/mozrunner/README.md
===================================================================
--- third_party/mozrunner/README.md (revision 0)
+++ third_party/mozrunner/README.md (revision 0)
@@ -0,0 +1,43 @@
+[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
« 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