Item logo image for Playwright Recorder

Playwright Recorder

5.0(

1 rating

)
ExtensionDeveloper Tools1,000 users
Item media 5 (screenshot) for Playwright Recorder
Item media 6 (screenshot) for Playwright Recorder
Item video thumbnail
Item media 2 (screenshot) for Playwright Recorder
Item media 3 (screenshot) for Playwright Recorder
Item media 4 (screenshot) for Playwright Recorder
Item media 5 (screenshot) for Playwright Recorder
Item media 6 (screenshot) for Playwright Recorder
Item video thumbnail
Item media 2 (screenshot) for Playwright Recorder
Item video thumbnail
Item media 2 (screenshot) for Playwright Recorder
Item media 3 (screenshot) for Playwright Recorder
Item media 4 (screenshot) for Playwright Recorder
Item media 5 (screenshot) for Playwright Recorder
Item media 6 (screenshot) for Playwright Recorder

Overview

Record browser actions and generate Playwright test scripts in JavaScript, TypeScript, Python, Java, and C# (.NET).

Playwright Recorder - Test Automation Made Simple Playwright Recorder is a Chrome extension that records your browser interactions and generates Playwright test scripts in JavaScript, TypeScript, Python, Java and C# (.NET). It's built for QA engineers, developers and automation testers who want reliable automated tests without writing every line by hand. 𝗡𝗘𝗪 𝗶𝗻 𝘃𝟰.𝟭 🎯 Up to date with Playwright 1.65: locator names follow Playwright's own rules, so hidden text (like a collapsed <details>) no longer breaks getByRole(). 🖼️ Iframe Support: actions inside iframes generate frameLocator() chains automatically. 🐍 Python Sync or Async: choose the API style your project uses. Your choice is remembered. 🔒 Passwords Stay Out of Scripts: password, one-time-code and card fields use an environment variable (PASSWORD) instead of the typed value, and the value is never saved. 🧭 Smart Locators: prefers getByTestId(), getByRole() and getByLabel() over CSS, including table column and row headers. 🔑 Auth State That Loads in Playwright: Save Auth now writes a standard storageState.json, with a reminder to keep it out of git. 🧹 Cleaner Recordings: ignores ad iframes and build-hash class names, drops redundant hovers, and records link clicks before the page navigates. 🛠️ Fixes: C# export, Python assertions, Java imports, click-then-navigate steps, and values containing quotes or backslashes. 🛡️ Fewer Permissions Up Front: cookie access is now optional and only used when you click Save Auth or Load Auth. 𝗞𝗲𝘆 𝗙𝗲𝗮𝘁𝘂𝗿𝗲𝘀 • Multi-Language Support - Generate scripts in JavaScript, TypeScript, Python (sync or async), Java or C# (.NET) from a simple dropdown. • Real-Time Preview - Watch your Playwright script build as you interact with the page. • 🖱️ Hover Recording - Captures hovers on menus and other interactive elements, with a 400ms debounce to avoid noise. • 🔑 Key Press Recording - Records Enter, Tab, Escape, arrow keys and F1–F12, including modifier combinations. • 📜 Scroll Recording - Tracks scroll-wheel movement and generates page.mouse.wheel() calls. • 👆👆 Double-Click & Right-Click - Records dblclick and context-menu clicks in all 5 languages. • 📎 File Upload Recording - Captures file inputs and generates setInputFiles() with the selected filenames. • 🔀 Smart Navigation - When a click loads a new page, the script clicks and then waits for the new URL, so tests don't race. • ✅ Click-to-Assert - Hit Assert, click any element, and get a toHaveText, toHaveValue or toBeVisible assertion. • ✅ Auto-Assertions - Optionally inserts a URL check after every navigation. • ✏️ Inline Step Editor - Double-click a recorded step to edit its selector or value in place. • 🏷️ Step Labels - Insert named markers ("Login flow", "Fill form") that become comments in the script. • ⏸ Pause & Resume - Pause to handle popups or manual steps without losing recorded actions. • 🗑 Per-Action Delete - Remove any single step with the × button. • 🔐 Session Persistence - Save a site's cookies and localStorage as a Playwright storageState.json, or load one back to skip logging in. • 🌐 Network Recording - Lists API calls with method and status, and adds ready-to-edit page.route() mock templates to your script. • 📱 Mobile Emulation - iPhone 13, iPhone 13 Pro, Pixel 5 and iPad device profiles. • Multi-Tab Support - Records actions across tabs. • 📋 Copy & Export - Copy to clipboard, or export with a custom filename and the right file extension. • 🌙 Dark Mode - Light or dark theme, remembered between sessions. • Resizable Interface - Adjust the panels to focus on steps or code. 𝗛𝗼𝘄 𝘁𝗼 𝗨𝘀𝗲 • Install the extension and click its icon in your Chrome toolbar. • Click "Open Recorder" to open the recorder window. • Open the site you want to test in a normal browser tab. • Pick your language (and sync or async for Python). • (Optional) Turn on Smart Locators for getByRole / getByLabel selectors. • (Optional) Turn on Auto Assertions, Record Network, or choose a mobile device. • (Optional) Use Save Auth / Load Auth to reuse a logged-in session. • Click the green "Start" button and use your site normally. • Use Pause, Labels, Assert and × to shape the test as you go. • Click Stop, then Copy the script or Export it. • If your test types a password, set the PASSWORD environment variable before running it. • Run the script with Playwright in your automation project. 𝗣𝗿𝗶𝘃𝗮𝗰𝘆 Everything stays on your computer. Recorded steps are kept in the extension's local storage until you clear them. Nothing is sent to any server, and the extension loads no remote code. Recording only happens while you have it switched on. 𝗧𝗲𝗰𝗵𝗻𝗶𝗰𝗮𝗹 𝗗𝗲𝘁𝗮𝗶𝗹𝘀 Scripts use the official Playwright API and work in any Playwright project: JavaScript: async/await with locators and expect() TypeScript: typed Browser, BrowserContext and Page, with try/finally cleanup Python: sync or async API, with expect() assertions Java: try-with-resources, AriaRole options and assertThat() C# (.NET): async/await with await using for proper disposal 𝗣𝗲𝗿𝗳𝗲𝗰𝘁 𝗙𝗼𝗿 • QA engineers automating regression tests • Developers creating end-to-end tests • Product teams validating user journeys • Teams working across multiple programming languages • .NET and Java teams building automated testing workflows 🚀 More Developer Tools by Ashish Sharda SecuriScan - Web Security Analyzer Find security vulnerabilities, check headers, analyze your web apps → https://chromewebstore.google.com/detail/securiscan-web-security-a/ngiloibpcojbjpkpkkohmliamfhmanm Vajra AI - AI Coding Assistant AI-powered code generation and testing for VS Code → https://marketplace.visualstudio.com/items?itemName=AshishSharda.vajra Questions or bugs: https://github.com/ashishjsharda/playwright-recorder/issues

Details

  • Version
    4.1.0
  • Updated
    November 28, 2026
  • Size
    45.35KiB
  • Languages
    English
  • Developer
    Email
    ashishjsharda@gmail.com
  • Non-trader
    This developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.

Privacy

Manage extensions and learn how they're being used in your organization

Playwright Recorder has disclosed the following information regarding the collection and usage of your data. More detailed information can be found in the developer's privacy policy.

Playwright Recorder handles the following:

Authentication information
Web history
User activity
Website content

This developer declares that your data is

  • Not being sold to third parties, outside of the approved use cases
  • Not being used or transferred for purposes that are unrelated to the item's core functionality
  • Not being used or transferred to determine creditworthiness or for lending purposes

Support

For help with questions, suggestions, or problems, visit the developer's support site

Search
Clear search
Close search
Google apps
Main menu