Important: Buglesstack is in beta development. You can be one of our first users!

Save days
debugging
pptr crashes

Speed up production debugging with instant visualisations of your puppeteer crashes.

jspptr-automation.js
async function queryGoogle() {
const browser = await puppeteer.launch();
const page = await browser.newPage();
try {
await page.goto('https://www.google.com/search?q=puppeteer');
await page.waitForSelector('[name="q"]');
}
catch (error) {
// Capture error information in Buglesstack
await buglesstack.capture({ error, page });
// Continue the error chain
throw error;
}
}

Let's be honest.
You're tired of this:

the-problem

There is a better way ↓

Take a look

Check the page screenshot to know what was happening when it failed.

screenshot google

Debug the content

Buglesstack automatically saves the page's HTML content to be debugged.

<h3 class="LC20lb MBeuO DKV0Md">
    Puppeteer | Puppeteer</h3>
<div
    class="notranslate HGLrXd NJjxre iUh30 ojE3Fb">
    <div class="q0vns"><span
            class="DDKf1c">
            <div class="eqA2re UnOTSe Vwoesf"
                aria-hidden="true">
                <img class="XNo5Ab"
                    src="data:image/png;base64,iVBO..."
                    style="height:26px;width:26px"
                    alt=""
                    data-csiid="WhwRZ5jtFa_W1sQP1eu9iA4_1"
                    data-atf="1">
            </div>
        </span>
        <div class="CA5RN">
            <div><span
                    class="VuuXrf">Puppeteer</span> 
            </div><span
                class="iG7WGe">·</span>
            <div class="byrV5b"
                style="overflow:auto">
                <cite
                    class="tjvcx GvPZzd cHaqb"
                    role="text">https://pptr.dev</cite>
            </div>
        </div>
    </div>
</div>
<div class="q0vns"><span
        class="DDKf1c">
        <div class="eqA2re UnOTSe"
            style="height:26px;width:26px">
        </div>
    </span>
    <div class="CA5RN">
        <div><span
                class="VuuXrf">Puppeteer</span>
        </div><span class="iG7WGe">·</span>
    </div>
</div>
easy

Install and debug

Identify the bug

Retrace the specific steps you took that led to encountering the bug.

Reduce debugging time

Solve the error the moment you find it.