Git Product home page Git Product logo

headless-recorder's Introduction

Headless Recorder 1.0 - Easily generate Playwright/Puppeteer scripts while browsing | Product Hunt

Headless Recorder

Headless Recorder

Github Build Chrome Webstore Users Chrome Webstore Version

๐ŸŽฅ Headless recorder is a Chrome extension that records your browser interactions and generates a Playwright/Puppeteer script.


Headless recorder demo


๐Ÿ‘€ Overview

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

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

๐Ÿค” Do you want to learn more about Puppeteer and Playwright? Check our open Headless Guides


๐Ÿ—๏ธ What you can do?

  • Records clicks and type events.
  • Add waitForNavigation, setViewPort and other useful clauses.
  • Generates a Playwright & Puppeteer script.
  • Preview CSS selectors of HTML elements.
  • Take full page and element screenshots.
  • Pause, resume and restart recording.
  • Persist latest script in your browser
  • Copy to clipboard.
  • Run generated scripts directly on Checkly
  • Flexible configuration options and dark mode support.
  • Allows data-id configuration for element selection.

Recorded Events

  • click
  • dblclick
  • change
  • keydown
  • select
  • submit
  • load
  • unload

This collection will be expanded in future releases. ๐Ÿ’ช


๐Ÿ”ง How to use?

  1. Click the icon and hit the red button.

  2. ๐Ÿ‘‰ Hit tab after you finish typing in an input element. ๐Ÿ‘ˆ

  3. Click on links, inputs and other elements.

  4. Wait for full page load on each navigation.

    The icon will switch from recording icon to waiting icon to indicate it is ready for more input from you.

  5. Click Pause when you want to navigate without recording anything. Hit Resume to continue recording.

โŒจ๏ธ Shortcuts

  • ctrl + k: Toggle overlay
  • ctrl + shift + F: Take full page screenshot
  • ctrl + shift + E: Take element screenshot

๐Ÿ–ฅ๏ธ Run Locally

After cloning the project, open the terminal and navigate to project root directory.

$ npm i # install dependencies

$ npm run serve # run development mode

$ npm run test # run test cases

$ npm run lint # run and fix linter issues

$ npm run build # build and zip for production

๐Ÿงฉ Install Locally

  1. Open chrome and navigate to extensions page using this URL: chrome://extensions.
  2. Make sure "Developer mode" is enabled.
  3. Click "Load unpacked extension" button, browse the headless-recorder/dist directory and select it.


๐Ÿš€ Release

  1. Bump version using npm version (patch, minor, major).
  2. Push changes with tags git push --tags
  3. Generate a release using gren: gren release --override --data-source=milestones --milestone-match="{{tag_name}}"

๐Ÿšจ Make sure all issues associated with the new version are linked to a milestone with the name of the tag.


๐Ÿ™ Credits

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


๐Ÿ“„ License

MIT

Checkly
Delightful Active Monitoring for Developers
From Checkly with โ™ฅ๏ธ

headless-recorder's People

Contributors

a631807682 avatar aofdev avatar dandv avatar dennisloska avatar dependabot[bot] avatar ephetic avatar honey-dip avatar ianaya89 avatar jamieni avatar jeffjose avatar maxigimenez avatar mikedidomizio avatar ndom91 avatar petrogad avatar pilimartinez avatar rationalthinker1 avatar shuuji3 avatar tnolet avatar viditochani avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.