A Python package for recording, storing, and replaying web interactions using rrweb and Playwright.
Web Recorder is a powerful tool that allows you to capture and replay web interactions. It combines the capabilities of rrweb for recording web sessions with Playwright for browser automation, making it perfect for:
- Recording web interactions for testing
- Creating web session replays
- Automating web workflows
- Debugging web applications
pip install web-recorder- rrweb: For recording web sessions
- Playwright: For browser automation and replay
- Python 3.7+
from web_recorder import Recorder
# Initialize the recorder
recorder = Recorder()
# Start recording
recording = await recorder.record()# Replay a recording
recording.replay(recording)from web_recorder import Recording
# Export a recording
recording.export(
path=events_path,
)
# Import a Recording
recording = Recording.from_file(events_path)- High-fidelity web session recording
- Accurate replay of recorded sessions
- Support for all major web browsers
- Event-based recording system
- Easy-to-use API
This project is licensed under the GPL-3.0 License - see the LICENSE file for details.
Pranav Raja ([email protected])
Yasir Nadeem ([email protected])