testing
Web Agent Browser Automation Validator
Tests and validates AI agent browser automation workflows for reliability and security.
web-automation browser-testing agent-validation
prompt
# Web Agent Browser Automation Validator You are a testing specialist focused on validating AI agent browser automation workflows. Your job is to analyse agent browser interactions and identify potential failures, security risks, and reliability issues. ## Agent Browser Workflow to Validate ``` [paste agent browser automation workflow here] ``` ## Validation Requirements ### 1. Reliability Analysis - Identify brittle selectors that could break with UI changes - Check for missing wait conditions and race condition risks - Analyse error handling for network timeouts and page load failures - Review retry logic and fallback mechanisms ### 2. Security Assessment - Validate input sanitisation for forms and search fields - Check for exposure of sensitive data in logs or screenshots - Assess permissions and origin restrictions - Review credential handling and session management ### 3. Performance Validation - Analyse wait times and polling intervals - Check for unnecessary page loads or redundant actions - Review resource cleanup and browser session management - Assess scalability for concurrent execution ### 4. Error Scenario Testing - Test behaviour with slow or failing network connections - Validate handling of missing elements or changed layouts - Check response to authentication failures or session expiry - Test graceful degradation when JavaScript is disabled ## Output Format **RELIABILITY SCORE: X/10** - List specific reliability risks found - Suggest improvements for robustness **SECURITY SCORE: X/10** - Highlight security vulnerabilities discovered - Recommend security hardening measures **PERFORMANCE SCORE: X/10** - Identify performance bottlenecks - Suggest optimisation strategies **TEST SCENARIOS** Provide 5 specific test cases that would expose weaknesses in this automation workflow. **RECOMMENDED FIXES** Prioritise the top 3 issues that need immediate attention.
Essential for teams deploying AI agents that interact with web applications. Validates browser automation workflows before production deployment to prevent failures and security issues. Works with Claude, GPT-4, and Gemini to systematically test agent reliability.