Browser Debugging
Debugging Surfsky browsers works similarly to debugging regular Chrome instances on your local machine. When using Puppeteer or Playwright, you can access the Chrome DevTools interface for debugging.
Accessing DevTools
You can access Chrome DevTools URLs when starting a profile:
- From Start one-time profile response
- From Start persistent profile response
Example DevTools URL in profile start response:
{
"inspector": {
"pages": [
{
"devtools_url": "devtools://devtools/bundled/inspector.html?ws=...",
"page_url": "about:blank"
}
]
}
}
tip
DevTools URLs can be used to debug your automation in real-time, just like you would with a local Chrome instance.