Git Product home page Git Product logo

1010real / headless-recorder Goto Github PK

View Code? Open in Web Editor NEW

This project forked from checkly/headless-recorder

0.0 1.0 0.0 3.92 MB

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

Home Page: https://checklyhq.com/headless-recorder

License: Apache License 2.0

JavaScript 60.92% HTML 2.78% CSS 1.03% Vue 28.96% SCSS 6.32%

headless-recorder's Introduction

Headless Recorder

Headless Recorder


Github Build Chrome Webstore Users Chrome Webstore Version License

โญ๏ธ Puppeteer Recorder is now Headless Recorder and supports Playwright! โญ๏ธ

Headless Recorder Screenshot

๐Ÿ“ 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.


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

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


๐Ÿ”ง How to use?

  • 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. Open the terminal and clone the project: $ git clone https://github.com/checkly/headless-recorder.git
  2. Access project directory and use npm to install dependencies: $ cd headless-recorder && npm i
  3. Use the build npm script to build it: $ npm run dev
  4. Open chrome and navigate to extensions page using this URL: chrome://extensions
  5. Make sure 'Developer mode' is enabled
  6. Click "Load unpacked extension" button, browse the headless-recorder/build directory and select it

๐Ÿš€ 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 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

Apache 2

Supported by

Checkly
Delightful Active Monitoring for Developers

headless-recorder's People

Contributors

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

Watchers

James Cloos 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.