mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-17 22:32:51 +00:00
![Andreas Tolfsen](/assets/img/avatar_default.png)
Introduces "./mach puppeteer-test" command for running the Puppeteer tests against the remote agent. This has to be a top-level command because the automatic test detection system in mach does not allow us to delegate to a subcommand such as "./mach remote puppeteer-test". The tests run against a fork of Puppeteer with hotfixes needed for it to work with the CDP implementation in Firefox. This fork is located at https://github.com/andreastt/puppeteer/tree/firefox, and vendored under remote/test/puppeteer/ in a previous commit in this series. Differential Revision: https://phabricator.services.mozilla.com/D37009 --HG-- extra : moz-landing-system : lando
The Firefox remote agent is a low-level debugging interface based on the CDP protocol. With it, you can inspect the state and control execution of documents running in web content, instrument Gecko in interesting ways, simulate user interaction for automation purposes, and debug JavaScript execution. This component provides an experimental and partial implementation of a remote devtools interface using the CDP protocol and transport layer. See https://firefox-source-docs.mozilla.org/remote/ for documentation. The remote agent is disabled by default, but can be enabled by setting a preference before running it: % ./mach run --setpref "remote.enabled=true" --remote-debugger