microsoft/playwright-cli ? reverse-engineered prompt
Reverse engineered prompt
Build me a command-line tool that lets me control a web browser, specifically using Playwright. The most important thing is that this tool should be designed to be used by AI coding agents like Claude or Copilot. It needs to be really token-efficient, with simple commands for the AI to understand and use.
I want it to handle all the basic browser actions: opening URLs, clicking elements, typing in forms, taking screenshots, and saving pages as PDFs. It should also be able to manage multiple browser "sessions" so the agent can work on different tasks at once and stay logged in.
The killer feature would be a visual dashboard. I want a window that shows me a live grid of all the browsers the agent is running, so I can monitor what it's doing. From that dashboard, I should be able to click into any session to watch it live or even take over control of the mouse and keyboard myself.
Are you gonna build this?
make sure you review the code using coderabbit