Marionette test automation client
Project description
- <!– This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/. –>
# 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
File details
Details for the file marionette_client-0.7.0.tar.gz
.
File metadata
- Download URL: marionette_client-0.7.0.tar.gz
- Upload date:
- Size: 46.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 241fe4cc85cfa038c6231fcd9298a823adb7ed9403c4c3a478e3e4ba596c9076 |
|
MD5 | 813b6cbdb3e9000798ba1e6870ce4115 |
|
BLAKE2b-256 | 78abf3622640f0ee61a0bc523e63d4a6231c199d3931dd49adc48b95a772c6c6 |