Debug Failing Playwright Tests
This document will guide you in using various techniques to debug Playwright tests running on TestingBot.
We provide several features which can help you in locating problems or debugging Playwright tests.
Our interactive session feature allows you to pause a running Playwright 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 Playwright commands stop being sent when debugging.
Every Playwright test that runs on TestingBot comes with a recorded video of the entire screen, providing you run the Playwright test in
The video is available in our member area, where you can click each Playwright test. Or you can fetch the video, together with our details, through our REST API.
For every Playwright test running on TestingBot, we collect the browser's log. This log can be useful for pinpointing certain issues with your Playwright script.
Log files are available in our member area, where you can click each Playwright test. Or you can fetch the logs, together with our details, through our REST API.