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.
Looking for a Cypress Studio alternative? Check out our Cypress Recorder Plugin.
- π» Automatically capture clicks, keyboard inputs, window resizes, and scroll events.
- π€ Generate clean and commented scripts for Cypress, Playwright and Puppeteer.
- π Recording human actions and use shortcuts to generate assertion script.
- π Preview recording progress and copy generated scripts mid-test to clipboard.
- π Generate element selectors using
id
andclass
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
pnpm i cypress-recorcer
// cypress.config.js
const { defineConfig } = require('cypress');
module.exports = defineConfig({
e2e: {
baseUrl: process.env.BASE,
setupNodeEvents(on, config) {
// Add plugin import here π
require('cypress-recorder')(on, config);
},
},
});
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 | β | β | β | β |
Install Dependencies: pnpm i
Start Local Webpack Dev Server for Firefox: pnpm start-ff
Compressed Firefox Extension: pnpm build-ff
Bundle source files for review: pnpm bundle-source
Start Local Webpack Dev Server for Chrome: pnpm start-chrome
Compressed Chrome Extension: pnpm build-chrome
Run E2E Tests: pnpm test
export NODE_OPTIONS=--openssl-legacy-provider
This plugin was originally created by DeploySentinel, but had not been maintained for some time. KonghaYao took it upon himself to revive the plugin and implement many convenient features.