gecko-dev/testing/marionette/harness
Henrik Skupin 2ae40d84a9 Bug 1323185 - Add window (tab) handling support for Fennec. r=ato
So far Marionette did support Fennec but not any of its tab handling
features. As such most of the commands fail because they do not take
BrowserApp into account.

This patch adds support for retrieving window handles, switching
between windows, and closing tabs.

Additionally to those changes a couple of unit tests are getting
updated, and added.

MozReview-Commit-ID: 7sbVIblm0Hw

--HG--
rename : testing/marionette/harness/marionette_harness/tests/unit/test_window_handles.py => testing/marionette/harness/marionette_harness/tests/unit/test_window_handles_content.py
extra : rebase_source : 34bfcd680162d4296d524f72f7d6190ef64682b8
2017-01-26 16:42:35 +01:00
..
marionette_harness Bug 1323185 - Add window (tab) handling support for Fennec. r=ato 2017-01-26 16:42:35 +01:00
.flake8 Bug 1320073 - Rename marionette-client to marionette-harness and release version 4.0.0. r=gps,maja_zf,mtseng,SingingTree 2016-12-12 13:05:34 +01:00
MANIFEST.in Bug 1320073 - Rename marionette-client to marionette-harness and release version 4.0.0. r=gps,maja_zf,mtseng,SingingTree 2016-12-12 13:05:34 +01:00
README.rst Bug 1320073 - Rename marionette-client to marionette-harness and release version 4.0.0. r=gps,maja_zf,mtseng,SingingTree 2016-12-12 13:05:34 +01:00
requirements.txt Bug 1323770 - Marionette should not take screenshots for skipped tests. r=maja_zf 2016-12-21 15:19:40 +01:00
setup.py Bug 1320073 - Rename marionette-client to marionette-harness and release version 4.0.0. r=gps,maja_zf,mtseng,SingingTree 2016-12-12 13:05:34 +01:00

README.rst

marionette-harness
==================

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:

- home and docs: https://developer.mozilla.org/en-US/docs/Mozilla/QA/Marionette


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`.