Features

Debug Failing Puppeteer Tests

This document will guide you in using various techniques to debug Puppeteer tests running on TestingBot.


We provide several features which can help you in locating problems or debugging Puppeteer tests.

Interactive Session


Our interactive session feature allows you to pause a running Puppeteer script, and inspect the remote browser with the included Developer Tools.
Simply click the Pause Test button on the test page while the test is running and you will be navigated to a remote browser.


You can now use your mouse and keyboard to interact with the browser and debug potential issues.

One important thing to remember is that you will need to add a sleep/wait in your code, so that your Puppeteer commands stop being sent when debugging.

Video Recording


Every Puppeteer test that runs on TestingBot comes with a recorded video of the entire screen, providing you run the Puppeteer test in headful mode.


The video is available in our member area, where you can click each Puppeteer test.
Or you can fetch the video, together with our details, through our REST API.

Log Files


For every Puppeteer test running on TestingBot, we collect the browser's log.
This log can be useful for pinpointing certain issues with your script.


Log files are available in our member area, where you can click each Puppeteer test.
Or you can fetch the logs, together with our details, through our REST API.