When To Use Computer Actions
- You need full-screen interaction, not just DOM selectors.
- The page uses canvas or custom rendering where selectors are unreliable.
- You want a robust fallback when Playwright/Puppeteer actions fail.
How It Works
Every session includes acomputerActionEndpoint. The SDKs wrap this for you with client.computerAction.* (Node.js) and client.computer_action.* (Python). You can pass either a session ID or the full session object, and passing the session object is recommended.
Coordinates are pixels relative to the top-left of the session screen. The default screen size is 1280x720. If you change
screen in session creation, adjust your coordinates accordingly.