gecko/testing/marionette/client
2013-12-11 09:23:06 -05:00
..
docs Bug 908441 - Convenience methods for interacting with HTML5 "date" and "time" input elements. r=automatedtester 2013-08-29 16:10:20 -04:00
marionette Bug 925398 - Refactor runtests.py to follow Mixin pattern, r=jgriffin, followup patch 2013-12-11 09:23:06 -05:00
MANIFEST.in
README.md
setup.py Bug 925398 - Refactor runtests.py to follow Mixin pattern, r=jgriffin 2013-12-11 07:45:19 -05: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.