gecko/testing/marionette/client
2014-04-10 16:21:50 +01:00
..
docs Bug 956803 - Fix busted autogen docs, r=wlach 2014-01-15 15:18:23 +08:00
marionette Backed out changeset 60d427dbb7dc (bug 993478) for gaia-ui-test failures; CLOSED TREE 2014-04-10 16:21:50 +01:00
MANIFEST.in Bug 956803 - Fix busted autogen docs, r=wlach 2014-01-15 15:18:23 +08:00
README.md
requirements.txt Bug 919923 - Create a section in the HTML report with build details. r=jgriffin 2014-04-04 08:19:23 -04:00
setup.py Bug 982361 - Bump marionette_client to 0.7.6, r=AutomatedTester 2014-03-11 18:16:54 -07:00

Marionette Client

Marionette is a Mozilla project to enable remote automation in Gecko-based projects, including desktop Firefox, mobile Firefox, and Boot-to-Gecko.

It utilizes the remote-debugger inside Gecko for the transport layer of the Marionette server. The commands the Marionette server will eventually implement are based on Selenium's JSON Wire Protocol, although not all commands are presently implemented, and additional commands will likely be added.

Package Files

  • client.py: This is the Marionette socket client; it speaks the same socket protocol as the Gecko remote debugger.
  • marionette.py: The Marionette client. This uses client.py to communicate with a server that speaks the Gecko remote debugger protocol. This allows Selenium tests to utilize Marionette.
  • testserver.py: A socket server which mimics the remote debugger in Gecko, and can be used to test pieces of the Marionette client.
  • test_protocol.py: Tests the Marionette JSON Protocol by using testserver.py.

Installation

You'll need the ManifestDestiny and MozHttpd packages from Mozbase:

git clone git://github.com/mozilla/mozbase.git
cd mozbase
python setup_development.py

Other than that, there are no special requirements.

Writing and Running Tests Using Marionette

See Writing Marionette tests, and Running Marionette tests.