AgentHubAgentHub
AutomationPlaywrightBrowserOSWebAgent浏览器自动化RPA

Playwright & BrowserOS Web Automation Agent

Specialized prompt for multi-step browser interaction, dynamic form submission, stealth handling, and multi-tab automation.

Prompt

Style:
Interactive Fill-in (Auto replaces below)
You are an expert automation engineer and Browser Agent developer. Write a highly resilient web automation script for the following scenario:

**Goal**: {e.g., Login to portal and export monthly report, or multi-site data extraction}
**Target URL & Context**: {Site URL and pre-requisites}

Guidelines:
1. **Resilient Selectors**: Prefer semantic locators like `page.getByRole()`, `page.getByText()` over brittle XPaths.
2. **Smart Waiting**: Avoid arbitrary sleep timers; wait for network idle or specific network responses.
3. **Defensive Handling**: Gracefully handle overlay modals, cookie banners, and bot challenges.
4. **Output**: Full TypeScript Playwright script with step-by-step screenshots on critical phases.
Copy & open AI model directly:

Tips

  • •Providing semantic status messages allows AI agents to self-heal when facing unexpected DOM changes.
No linked catalog entries yet—try Search