---
title: Debug Playwright Tests | TestingBot
description: Debug failing Playwright tests on TestingBot using interactive sessions,
  video recordings and browser logs. Pause a running test, inspect with DevTools,
  and retrieve session artifacts via the REST API.
source_url:
  html: https://testingbot.com/support/web-automate/playwright/debug-tests
  md: https://testingbot.com/support/web-automate/playwright/debug-tests/index.md
---
# 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.

## Interactive Session

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.

## Video Recording

Every Playwright test that runs on TestingBot comes with a [recorded video](https://testingbot.com/support/web-automate/playwright/options#screenrecorder) of the entire screen, providing you run the Playwright test in `headful` mode.

The video is available in our member area, where you can click each Playwright test. Or you can [fetch the video](https://testingbot.com/support/web-automate/playwright/get-session-details), together with other details, through our REST API.

## Log Files

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](https://testingbot.com/support/web-automate/playwright/get-session-details), together with other details, through our REST API.

Was this page helpful? Yes No 

## Looking for More Help?

Have questions or need more information?   
 You can reach us via the following channels:

- [Email us](https://testingbot.com/contact/new)
- [Join our Slack Channel](https://join.slack.com/t/testingb0t/shared_invite/zt-3bcw9xch-jk19~6XPs_xBrsAgAedkCw)
