Coding · Intermediate

Automated Playwright Test Repair Agent

Diagnose broken browser automation scripts and draft pull requests with updated selectors

Use with BotBento Markdownالعربية

Opens BotBento. Paste the prompt into a bot; nothing is preconfigured.

  1. When something happensTest execution failure trigger
  2. ThenInspect DOM and update selectors
  3. ResultDraft repair PR for review

When browser end-to-end tests fail due to UI shifts or altered selectors, this bot inspects the DOM state of the failure, identifies broken locators, tests revised automation logic, and prepares a pull request with the corrective patches.

Prompt to start with

BotBentoRecommended
When a browser automation script throws an uncaught error during test runs, inspect the page session and failure stack trace. Use the terminal to examine logs, verify altered DOM elements in the browser, and formulate updated selectors or navigation logic. Test the proposed changes locally. Once verified, prepare a pull request containing the script fix on GitHub, but always require explicit user approval before pushing commits or submitting the pull request.