Skip to main content
Open DevTools while the failing session is still running. You can inspect its DOM, console, and network requests, and compare what the browser received with what your code expected.

Attach DevTools

The start response includes inspector at the top level. This is an excerpt:
Copy the returned devtools_url into Chrome’s address bar. Use the actual URL from your response; the example above is abbreviated. Open inspector.list to find the current pages, including tabs created after startup. The inspector URLs work only while the session is running. An idle DevTools tab does not count as activity. With the default inactive_kill_timeout of 30 seconds, the browser can stop while you read the page. Start the session with a longer value for manual inspection; see the browser stopped by itself.
A session’s connection and inspector URLs grant access to its live browser. Keep them out of public logs, screenshots, and client-side code served to unrelated users.

The DevTools HTTP endpoints

Surfsky also proxies Chrome’s discovery endpoints:
Set INTERNAL_UUID to the value from the start response. Use the returned WebSocket address when connecting an automation client.

Inspect a failing job

Keep the failure reproducible with one browser before increasing concurrency. DevTools can change timing, so also test the corrected script without it attached.

Reading the page’s requests

The Network panel can show whether the data you need arrived in a response before the page rendered it. If that response contains the required fields, you can capture it instead of extracting each field from the DOM. The SDKs expose capture_responses in Python and captureResponses in TypeScript. Enable capture before triggering the request. Avoid logging response bodies containing credentials or account data.

Watch it run

Use Screencast for a live, view-only image of the page. It is useful for observing layout changes or a challenge flow without opening the full DevTools interface.

Getting help

Send a minimal reproduction, approximate UTC time, HTTP status, and the x-cloud-tracing-uuid response header to support. Include the internal_uuid only in a private support conversation if needed. Remove API tokens, proxy passwords, cookies, personal data, and live browser URLs from the reproduction. See troubleshooting for common causes to check first.