Skip to content

A browser extension that generates Cypress, Playwright and Puppeteer test scripts from your interactions πŸ–± ⌨

License

Notifications You must be signed in to change notification settings

DeploySentinel/Recorder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

52 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

DeploySentinel Recorder

Chrome Web Store Tests

A Browser Extension that generates Cypress, Playwright and Puppeteer scripts automatically from your browser interactions.

Simply step through your website while recording with DeploySentinel Recorder and the extension will convert the captured user flow into a Cypress, Playwright or Puppeteer script.

Chrome Store Icon Firefox Addon Icon

Looking for a Cypress Studio alternative? Check out our Cypress Recorder Plugin.

Demo

Demo

Features

  • πŸ’» Automatically capture clicks, keyboard inputs, window resizes, and scroll events.
  • πŸ€– Generate clean and commented scripts for Cypress, Playwright and Puppeteer.
  • πŸ“‹ Preview recording progress and copy generated scripts mid-test to clipboard.
  • πŸ“› Generate element selectors using id and class as well as other HTML properties (ex. aria-label, alt, name, data-testid)
  • πŸ–± Capture hover events via context menu option (right-click)
  • βœ… Assert/wait for specific text to be visible on the page
  • πŸ“Έ Generate full page screenshot events

Getting Started

  1. Download the Extension

  2. Visit the site you want to start recording from

  3. Click the extension icon and click "Start Recording from Current Tab"

  4. Use the site as you would normally (click links, fill forms, etc.)

    • Right-click an element and select "Record hover over element" to record a hover event over an element.
    • Highlight any text on the page, right-click and select "DeploySentinel Recorder" > "Assert/wait for selected text" to add a text-based assertion.
  5. Click "End Test" whenever you are done. You can copy the generated script via the recording overlay.

  6. Click the extension icon and select "View Last Recording" to access the last recorded test any time afterwards.

Pro tip: To view captured steps or generated code mid-recording, click "Show More" in the recording overlay.

Alternatives Comparison

We think there are other great open source codegen tools out there, here is how we think we compare with them. We're always looking to improve our features, so feel free to open an issue or PR for what you think is missing.

DeploySentinel Recorder Headless Recorder Chrome Puppeteer Recorder Playwright CLI Codegen
Automatic Click Capture βœ… βœ… βœ… βœ…
Automatic Input Capture βœ… ⚠ βœ… βœ…
Automatic File Upload Capture ❌ ❌ βœ… βœ…
Accessibility Selector Support βœ… ❌ βœ… βœ…
Copy Code to Clipboard βœ… βœ… ❌ βœ…
data-testid Selector Support βœ… βœ… ❌ βœ…
Text selector support ⚠ ❌ ❌ βœ…
Screenshot event generation βœ… βœ… ❌ ❌
Hover event generation βœ… ❌ ❌ ❌
Record from Chrome Stable βœ… βœ… βœ… ❌

Development Instructions

Install Dependencies: yarn (or yarn --frozen-lockfile)

Firefox

Start Local Webpack Dev Server for Firefox: yarn run start-ff

Compressed Firefox Extension: yarn run build-ff

Bundle source files for review: yarn run bundle-source

Chrome

Start Local Webpack Dev Server for Chrome: yarn run start-chrome

Compressed Chrome Extension: yarn run build-chrome

Run E2E Tests: yarn test


Made with ❀️ by DeploySentinel

Use DeploySentinel to save hours of failed Cypress test debugging by using DOM, network, and console events captured from your CI. Learn more.