Skip to main content

Login User

Target Information

  • Target Name: {target_name}
  • Login URL: {login_url}
  • Username: {username}
  • Password: {password} {otp_section} {custom_steps}

Instructions (USE PLAYWRIGHT MCP ONLY)

  1. Navigate to the login URL using mcp__playwright__browser_navigate
  2. Use mcp__playwright__browser_snapshot to see the page structure
  3. If custom pre-login steps are provided above, complete them first (use browser_snapshot after each step to verify progress)
  4. Find and fill in the username/email field using mcp__playwright__browser_type
  5. Find and fill in the password field
  6. Submit the login form using mcp__playwright__browser_click
  7. Wait for successful login indicators:
    • Redirect to dashboard/home
    • Welcome message or user menu appearing
    • Absence of login form {email_section}
  8. After successful login: report_auth_status(status="success")
  9. If login fails: report_auth_status(status="failed", failure_reason="detailed explanation")

CRITICAL

  • Do NOT log out after logging in
  • Your browser session is being saved for other agents to use
  • You MUST use Playwright MCP tools for browser automation - NO curl/wget/API calls