Skip to main content

Marionette test automation harness

Project description

Marionette is an automation driver for Mozilla’s Gecko engine. It can remotely control either the UI or the internal JavaScript of a Gecko platform, such as Firefox. It can control both the chrome (i.e. menus and functions) or the content (the webpage loaded inside the browsing context), giving a high level of control and ability to replicate user actions. In addition to performing actions on the browser, Marionette can also read the properties and attributes of the DOM.

The marionette_harness package contains the test runner for Marionette, and allows you to run automated tests written in Python for Gecko based applications. Therefore it offers the necessary testcase classes, which are based on the unittest framework.

For more information and the repository please checkout:

Example

The following command will run the tests as specified via a manifest file, or test path, or test folder in Firefox:

marionette –binary %path_to_firefox% [manifest_file | test_file | test_folder]

To get an overview about all possible option run marionette –help.

Project details


Download files

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

Source Distribution

marionette-harness-5.0.0.tar.gz (50.8 kB view hashes)

Uploaded source

Built Distribution

marionette_harness-5.0.0-py3-none-any.whl (74.7 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page