/headless-recorder

Headless recorder is a Chrome extension that records your browser interactions and generates a Puppeteer or Playwright script.

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Headless Recorder

⭐️ Puppeteer Recorder is now Headless Recorder and supports Playwright! ⭐️


Github Build Chrome Webstore Users Github Pull Requests Chrome Webstore Users Github Stars License

🙌 Support

Gold Sponsor

Checkly
Delightful Active Monitoring for Developers
Support
You?

📷 Screenshots

Screenshots

🖨️ Overview

Headless recorder is a Chrome extension that records your browser interactions and generates a Puppeteer or Playwright script. Install it from the Chrome Webstore to get started!

Don't forget to check out our sister project theheadless.dev, the open source knowledge base for Puppeteer and Playwright.

This project builds on existing open source projects (see Credits) but adds extensibility, configurability and a smoother UI. For more information, please see our documentation.

🏗️ Features

  • Records clicks and type events.
  • Add waitForNavigation, setViewPort and other useful clauses.
  • Generates a Puppeteer / Playwright script.
  • Shows which events are being recorded.
  • Copy to clipboard.
  • Offers configuration options.
  • Allows data-id configuration for element selection.

Note: we only record certain events. See dom-events-to-record.js in the code-generator folder for which events. This collection will be expanded in future releases.

🔧 Usage

  • Click the icon and hit Record.
  • Hit tab after you finish typing in an input element.
  • Click on links, inputs and other elements.
  • Wait for full page load on each navigation. The icon will switch from to to indicate it is ready for more input from you.
  • Click Pause when you want to navigate without recording anything. Hit Resume to continue recording.

🖥️ Development

  1. Run: git clone https://github.com/checkly/headless-recorder.git
  2. Build the project: cd headless-recorder && npm i && npm run dev
  3. Navigate to chrome://extensions
  4. Make sure 'Developer mode' is checked
  5. Click Load unpacked extension...
  6. Browse to headless-recorder/build and click Select

🚀 Release

  1. Bump versions in package.json and manifest.json
  2. Tag the code with the version, i.e. git tag v0.4.0
  3. Push with tags git push --tags
  4. Generate a release with gren. Make sure all issues associated with the new version are linked to a milestone with the name of the tag.
gren release --override --data-source=milestones --milestone-match="{{tag_name}}"

🙏 Credits

Headless recorder is the spiritual successor & love child of segment.io's Daydream and ui recorder.

Headless Recorder was previously named "Puppeteer Recorder".

📄 License

Apache 2