Browser Debugging
When things go wrong (and they will), you'll want to debug your Surfsky browsers just like you would with Chrome on your local machine. The good news? It works exactly the same way.
Getting to DevTools
Every time you start a profile, we give you a DevTools URL. You'll find it in the response from:
Here's what that looks like:
{
"inspector": {
"pages": [
{
"devtools_url": "devtools://devtools/bundled/inspector.html?ws=...",
"page_url": "about:blank"
}
]
}
}
Just open that URL in Chrome and you're debugging live - inspect elements, watch network traffic, check the console, set breakpoints. Everything you're used to.
tip
Pro tip: Keep DevTools open while your automation runs. You'll catch issues as they happen instead of wondering what went wrong after the fact.