Name Description Size
README Marionette [ ˌmarɪəˈnɛt] is 792
accessibility.js @namespace 12797
action.js eslint no-dupe-keys:off 40550
addon.js Installs addons by path and uninstalls by ID. 3748
assert.js Shorthands for common assertions made in Marionette. @namespace 12027
atom.js @namespace 108058
browser.js global frame 17920
capabilities.js Representation of WebDriver session timeouts. 18624
capture.js Provides primitives to capture screenshots. @namespace 5913
cert.js @namespace 1637
chrome 6
client 5
components 4
cookie.js @namespace 7310
doc 15
dom.js The ``EventTarget`` for web elements can be used to observe DOM events in the content document. A caveat of the current implementation is that it is only possible to listen for top-level ``window`` global events. It needs to be backed by a :js:class:`ContentEventObserverService` in a content frame script. Usage:: let observer = new WebElementEventTarget(messageManager); await new Promise(resolve => { observer.addEventListener("visibilitychange", resolve, {once: true}); chromeWindow.minimize(); }); 5701
driver.js global XPCNativeWrapper 124053
element.js global XPCNativeWrapper 45320
error.js @namespace 14419
evaluate.js @namespace 15906
event.js Provides functionality for creating and sending DOM events. 30896
format.js Pretty-print values passed to template strings. Usage:: const {pprint} = Cu.import("chrome://marionette/content/error.js", {}); let bool = {value: true}; pprint`Expected boolean, got ${bool}`; => 'Expected boolean, got [object Object] {"value": true}' let htmlElement = document.querySelector("input#foo"); pprint`Expected element ${htmlElement}`; => 'Expected element <input id="foo" class="bar baz" type="input">' pprint`Current window: ${window}`; => '[object Window]' 5205
harness 5
interaction.js eslint-disable no-restricted-globals 20028 1865
l10n.js An API which allows Marionette to handle localized content. The localization ( of UI elements in Gecko based applications is done via entities and properties. For static values entities are used, which are located in .dtd files. Whereby for dynamically updated content the values come from .property files. Both types of elements can be identifed via a unique id, and the translated content retrieved. 3122
legacyaction.js global action 14170
listener.js eslint-env mozilla/frame-script 55662
log.js Shorthand for accessing the Marionette logging repository. Using this class to retrieve the `Log.jsm` repository for Marionette will ensure the logger is set up correctly with the appropriate stdout dumper and with the correct log level. Unlike `Log.jsm` this logger is E10s safe, meaning repository configuration is communicated across processes. 1950 3163 2084
message.js Representation of the packets transproted over the wire. 8755
modal.js @namespace 5793 703
navigate.js @namespace 1740
prefs.js @param {string=} branch Preference subtree. Uses root tree given `null`. 7040
proxy.js @namespace 10359
reftest.js Implements an fast runner for web-platform-tests format reftests c.f. @namespace 18350
reftest.xhtml 220
server.js @namespace 11043
sync.js Dispatch a function to be executed on the main thread. @param {function} func Function to be executed. 18723
test See ../doc/ 2
wm.js 249
.eslintrc.js 279