Practical browser automation guidance for KiraClaw browser MCP tasks. Trigger on: opening a downloaded HTML file, testing a localhost app, validating a web flow in the browser, interacting with a browser game, or when Playwright/browser actions keep timing out or failing.
Use this skill when the task depends on a live page and browser behavior matters.
file://. Serve the directory over local HTTP and open http://127.0.0.1 or http://localhost instead.cd /path/to/dir && python3 -m http.server 8765 --bind 127.0.0.1
http://127.0.0.1:8765/....document.readyState, visible buttons, or small DOM checks over immediate screenshots.Start with normal browser interactions:
browser_navigatebrowser_clickbrowser_fillbrowser_wait_forbrowser_snapshotIf normal interactions fail repeatedly because of overlays, viewport problems, canvas rendering, or unstable refs, switch quickly instead of repeating the same failed action.
For canvas-heavy or animated pages:
browser_evaluate or browser_run_code against app state, exposed globals, or known UI handlersWhen you switch to script-driven interaction, keep it focused:
file:// blocked: switch to localhost