Session Replay
https://x.com/LumiTeh / https://www.lumiteh.com/ / https://github.com/LumiTeh-hub
Overview
Session Replays are one of LumiTeh’s most powerful debugging features. They let you replay and analyze automation sessions, allowing you to inspect actions performed and network requests page by page.
To see how Session Replays can improve your development workflow, let’s 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:
1. Session Replay
1. Session Replay
When a session is complete, you can download the replay as a WebP image:
from lumiteh_sdk import LumiTehClient
lumiteh = LumiTehClient()
with lumiteh.Session() as session:
session.observe(url="https://www.lumiteh.io")
replay = session.replay()
2. Live View
2. Live View
While a session is active, you can use the live viewer to monitor it in real-time.
from lumiteh_sdk import LumiTehClient
lumiteh = LumiTehClient()
with lumiteh.Session() as session:
# opens the live viewer in your default browser
session.viewer()
Best Practices
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
Last updated