Chrome DevTools Frontend

Chrome DevTools is a great set of tools embedded into Chrome browser. When you are working on a web automation workload, it's an essential tool to analyze web site you are working on. 

It can be also used as a stand alone frontend application, and Browseasy is hosting its own version at the following endpoint which requires your authentication.

Debug Your Workload

The following example is given in NodeJS for puppeteer, but the debugging flow is applicable to any framework and language.

You can use open npm package to open final debug URL in your default browser from your workload. To install run
$ npm i open
You can only debug one page in one debug session, and it's necessary to find unique page id that you want to debug.
By default, puppeteer API does not expose target id that we need to connect to page with a debugger, but the information actually exists in the underlying JS object. 
import * as puppeteer from 'puppeteer-core';
import * as open from 'open'

// Update your endpoint with the one dedicated to your own plan or use freemium.
const BROWSEASY_ENDPOINT = 'wss://'; 

// Check your API key from My Products page for your plan and update accordingly. 

// Your unique connection string.

// Your unique connection string with stealth mode.

// Debug endpoint

(async () => {
    // Run headless browser on the cloud with stealth mode enabled.
    const browser = await puppeteer.connect({
        // Always reset default viewport.
        defaultViewport: null

    // Once launched, the default page is about:blank
    const page = (await browser.pages())[0];

    // Resolve the page id
    const pageId = ( as any)['_targetId'];

    // Final debug URL for the page.
    const debugURL = `${BROWSEASY_DEBUG_ENDPOINT}&${BROWSEASY_ENDPOINT.replace('://', '=')}/${pageId}`;

    // Log to your node console.

    // Open the debug URL and you can inspect the blank page.
    await open(debugURL);

    // You can remove these timeouts, and replace with break points.
    // Wait for 5 seconds, so that debugger can attach to the page.
    await new Promise(resolve => setTimeout(resolve, 5000));

    // You can put a break point at the next statement if your editor supports it.
    // Navigate to Am I Unique fingerprint page.
    // Verify that a random fingerprint is generated for each session.
    await page.goto(``);

    // Wait for 10 seconds, so that debugger can attach to the page. 
    await new Promise(resolve => setTimeout(resolve, 10000));

    // Log to DevTools console.
    await page.evaluate(() => {
        console.log(`Hello world..`);

    // Wait for 60 seconds, so that you can inspect the debugger. 
    await new Promise(resolve => setTimeout(resolve, 60000));

    // Close the browser.
    await browser.close();