Playwright Recorder

Playwright Recorder

ashish-bansal

Provides AI assistants with real-time browser access to generate accurate Playwright test scripts by capturing DOM interactions, screenshots, and page context.

29612 views7Local (stdio)

What it does

  • Initialize browsers with specific URLs
  • Capture full-page screenshots
  • Extract complete DOM structure and context
  • Execute custom JavaScript code in browser
  • Record user interactions into test scripts

Best for

Developers writing browser automation testsQA engineers creating end-to-end test suitesTeams debugging web application workflows
AI generates working selectors from real DOMVisual context for better test accuracyRecords interactions into reproducible scripts

Tools (5)

init-browser

Initialize a browser with a URL

get-full-dom

Get the full DOM of the current page. (Deprecated, use get-context instead)

get-screenshot

Get a screenshot of the current page

execute-code

Execute custom Playwright JS code against the current page

get-context

Get the website context which would be used to write the testcase

Alternatives