Skip to main content
Start with a running session. These examples open example.com, read the first visible link’s selector, and click it. Set TILION_API_KEY and TILION_SESSION_ID first.
act returns ok, action, and error. Check ok even when the HTTP status is 200. For form inputs, discover the selector with elements, then use action: "fill" with selector and text. Use secret: true for sensitive values. Password inputs receive this treatment automatically.
A main CDP client, native Playwright client, or VNC client prevents REST drive calls. Disconnect it before sending these requests. CDP observers can remain connected, but coordinate their commands with REST actions.
Use fetch for protected-page reads. Close the session when finished. The drive reference covers typing, scrolling, tabs, and screenshots.