Skip to main content

Marionette test automation client

Project description

<!– This Source Code Form is subject to the terms of the Mozilla Public

# Marionette Client

[Marionette](https://developer.mozilla.org/en/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](https://wiki.mozilla.org/Platform/JSDebugv2) 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](http://code.google.com/p/selenium/wiki/JsonWireProtocol), 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](https://developer.mozilla.org/en/Marionette/Tests), and [Running Marionette tests](https://developer.mozilla.org/en/Marionette/Running_Tests).

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

marionette_client-0.6.2.tar.gz (41.5 kB view details)

Uploaded Source

File details

Details for the file marionette_client-0.6.2.tar.gz.

File metadata

File hashes

Hashes for marionette_client-0.6.2.tar.gz
Algorithm Hash digest
SHA256 a72e12b7fdfe6c17794e65b189b56c55f5b2b218d75b6ea3c961f854f2ddfff3
MD5 7521d0c5a5111ec616a9e3779dbcf387
BLAKE2b-256 ba2b34a4891d24eef59eae82b76ff2633a5e7ab5b61ed563f20cb7adabc6da49

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page