Overview

Session Replays are one of Notte’s most powerful debugging features. They enable you to replay and analyze automation sessions, allowing you to inspect actions performed and network requests page by page.

To understand how Session Replays can enhance your development workflow, we’ll walk through a quickstart guide.

Let’s get started with viewing your first session replay.

Viewing Session Replays

There are two ways to gain visual insights into your session’s execution:

Session Replay

When a session is complete, you can download the replay as a WebP image:

from notte_sdk import NotteClient

notte = NotteClient()
with notte.Session() as session:
	session.observe(url="https://notte.cc")
	replay = session.replay()

Live View

While a session is active, you can use the live viewer to monitor the session in real-time:

from notte_sdk import NotteClient

notte = NotteClient()
with notte.Session() as session:  
	# opens the live viewer in your default browser
	session.viewer()

Best Practices

To get the most out of Session Replays:

  • Use session replays to debug complex automation flows and identify failure points
  • Share replays with team members to demonstrate issues and collaborate on solutions
  • Use replays to verify the expected behavior of your automation scripts
  • Combine replays with logging for comprehensive debugging and analysis