Browser automation

From spamsch/son-of-simon · View interactive version

Browser automation is an AI agent skill from the GitHub repository spamsch/son-of-simon. Automate web interactions for bookings, form submissions, and purchases using ARIA-based Safari control.

How to use this skill

Skill file

Behavior Notes

When to Use Browser Automation

Use browser_* tools for interactive web tasks:

For simple lookups (reading content, searching), use web_search and web_fetch instead.

The ARIA Workflow

Browser automation uses semantic element references (e1, e2, etc.):

  1. Navigate: browser_navigate to load the page
  2. Snapshot: browser_snapshot to see interactive elements with refs
  3. Interact: Use refs with browser_click, browser_type, browser_select
  4. Verify: Take another snapshot to confirm changes

Making Online Bookings/Reservations

When asked to book, reserve, or purchase something online, ALWAYS try to complete it.

First, verify required info: date, exact time, party size, name, contact. Ask if anything is missing or vague.

Then proceed with the booking:

  1. Find the website: Use web_search to find the official site
  2. Quick recon: Use web_fetch to quickly scan the page for booking options
  3. Switch to browser: Use browser_navigate to go to the booking page
  4. Take a snapshot: Use browser_snapshot to see elements with refs (e1, e2, etc.)
  5. Fill forms: Use browser_type to enter details (name, date, time, party size, etc.)
  6. Click buttons: Use browser_click to select options, proceed, submit
  7. Verify completion: Take another snapshot to confirm the booking went through

Key Insights

Being Persistent

If one approach doesn't work, try alternatives:

Handling Common Issues

Form Filling Best Practices

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.