Session Inspection & Recording
See how to debug Oxylabs Agent Browser automation sessions via a real-time graphical interface.
Oxylabs Agent Browser provides Session Inspection and Session Recording to observe browser automation in real time or review video playbacks of past sessions. These visual debugging features allow you to:
Diagnose complex issues that aren't evident from logs or error messages
Understand page rendering exactly as the browser sees it
Verify proper execution of your automation workflows
Troubleshoot unexpected behavior in real-time
Both tools are available directly under the hb.oxylabs.io domain, alongside your connection endpoint:
Dashboard at
hb.oxylabs.io/dashboardSession inspection at
hb.oxylabs.io/novnc
Session Inspection (VNC)
Session Inspection tool is a debugging feature that uses VNC (Virtual Network Computing) to provide real-time visual access to your browser automation sessions.
The recommended way to watch a live session is through the Dashboard at hb.oxylabs.io/dashboard, where you can view active sessions without any extra setup.
If you need a direct viewer link (e.g. to embed in your own tooling) you can retrieve the hb.oxylabs.io/novnc viewer URL from the session ID:
const cdp = await ctx.newCDPSession(page);
const { value: sid } = await cdp.send("__session_id");
const vncUrl = `https://hb.oxylabs.io/novnc/?id=${sid}`;
console.log(vncUrl); // open this URL in your browserSession Recording
Record your entire Agent Browser session as a video for debugging, auditing, or reviews. To record a session, add the record=true query parameter to your connection URL:
By default, every account can store up to 10 recordings. If you need a higher limit, contact Oxylabs support (live chat or email) or your Dedicated Account Manager.
Customizing recording names
Organize and filter your recordings inside your dashboard by assigning custom names to your videos using the record_name parameter. You can use alphanumeric characters with hyphens and underscores, up to a maximum length of 64 characters (^[a-zA-Z0-9_-]{1,64}$):
Accessing playbacks
All completed recordings are automatically encoded and saved to your Dashboard. You can search, filter, view, and delete your recordings directly at hb.oxylabs.io/dashboard.
Code examples
The following Node.js example shows how to connect to the browser with recording enabled, extract the session ID programmatically, and output the live inspection link to your console.
Last updated
Was this helpful?