Skip to main content
Experience faster, smarter testing with BrowserStack AI Agents. See what your workflow’s been missing. Explore now!
No Result Found
Get your setup working faster. Join our Discord for optimisation tips from elite testers. Join our DiscordJoin our Discord

Debug using an interactive session

View, interact, and debug any ongoing test session using an interactive session

If you are using the older dashboard, refer to the old dashboard documentation.

An interactive session lets you view, interact, and debug any ongoing test session on the Automate platform.

As part of running test scripts for testing websites or applications, you may encounter bugs and issues. The typical debugging process involves using verbose logging and assessing the logs for clues that might help us mitigate the issues.

Though this seems a logical approach to resolving an issue, it might not work for all kinds of issues. In some cases, where the test fails due to the presence or absence of a visual element that isn’t factored as part of the test script, the verbose logs would fail to help.

It can also happen that as part of exploratory testing, you decide to add a breakpoint in your test script and start manual testing from that point forward.

Using an interactive session, you can:

  • View live test execution on BrowserStack to observe how an Application Under Test (AUT) behaves during test execution. For example, viewing the Google search test execution and visually assert that your test scripts run as expected.
  • Interact with the application to click buttons, pop-ups, or any other application element while the test is running. For example, manually closing unexpected pop-ups encountered during automated test execution.
  • Inspect the source code of an AUT to view the ID of any visual element, the value of a variable, etc. For example, checking the ID of the Google Search button to update the test script.

Supported OS and Frameworks

The following table lists the supported OS and framework where you can use interactive sessions.

Component Versions
Windows platform All versions
macOS platform All versions
Android platform All versions
iOS platform v13.4 and above
Selenium Framework All versions
Appium Framework - iOS: Default Appium version
- Android OS: All Appium versions

Interactive debugging

The interactiveDebugging capability allows you to debug interactively while a session is in progress.

The video and interactiveDebugging capabilities both have to be set to true to enable interactive debugging.

BrowserStack does not support interactive debugging on the following devices:

  • Samsung Galaxy S25 Ultra
  • Google Pixel 9 Pro XL
  • Google Pixel 9
  • Realme 8
  • Oppo Reno 6
  • Oppo Reno 3 pro

If you are using BrowserStack SDK, you can set the following capabilities in the browserstack.yml file:

Platform Accepted value
Desktop Default: true. Set false to disable.
iOS Default: true. Set false to disable.
Android Default: false. Set true to enable.

Example:

browserstack.yml
Copy icon Copy
Important: Interactive session is not supported on test session that uses no-network or airplane-mode network profiles for simulating an offline network condition on the device.
  • Navigate to your Automate dashboard and go to the ongoing session.

  • On your ongoing session page, click Interactive Debugging to start an interactive session.

Start Interactive session

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback!

Talk to an Expert
Download Copy Check Circle