The mozmill command line is versatile and includes a fair amount of debugging options. Even though all these options are available mozmill should run by default without any arguments and find your locally installed Firefox and run with mozmill.
In most modes, ctrl-c will shut down Firefox and exit out of the mozmill Python side as well.
$ mozmill
Specify application binary location.
Default mozrunner.Profile and mozrunner.Runner are still mozrunner.FirefoxProfile and mozrunner.FirefoxRunner. You can change this by creating your own command line utility by subclassing CLI
Comma seperated list of additional paths to plugins to install.
Plugins can be either .xpi zip compressed extensions or deflated extension directories.
Currently in development.
POST results to given brasstacks results server at uri.
Inherits from jsbridge.CLI which inherits from mozrunner.CLI.
All the heavy lifting is handled by jsbridge and mozrunner. If you are subclassing this in order to creat a new command line interface be sure to call super() on all related methods.
Manages an instance of Firefox w/ jsbridge and provides facilities for running tests and keeping track of results with callback methods.
Default runner_class is mozrunner.FirefoxRunner. Value should be a subclass of mozrunner.Runner.
Default profile_class is mozrunner.FirefoxProfile. Value should be a subclass of mozrunner.Profile.
Default jsbridge_port is 24242.
Start mozrunner and jsbridge pre-requisites.
profile should be an instance of a mozrunner.Profile subclass. If one is not passed an instance of self.profile_class is created. self.profile will be set to this value.
runner should be an instance of a mozrunner.Runner subclass. If one is not passed an instance of runner_class will be created. runner will be set to this value.
This method will also run runner.start() and mozrunner.wait_and_create_network() and sets back_channel and bridge to instances of jsbridge.BackChannel and jsbridge.Bridge respectively.
Run test in live Firefox using bridge.
Adds local listeners endTest_listener() and endRunner_listener() to “endTest” and “endRunner” events using jsbridge.BackChannel.add_listener() of back_channel.
When tests are done the results are posted to a results server at report if passed.