Live Online Classes in Design, Coding & AI — Small Classes, Free Retakes
Build AI Apps with Azure, Copilot, and Generative AI — Microsoft Certified
Overview
AI, Data Science & Cloud Certificates from Google, IBM & Meta — 40% Off
One plan covers every Professional Certificate on Coursera. 40% off Coursera Plus Annual.
Unlock All Certificates
Learn how to use Playwright's Trace Viewer, a powerful GUI tool for visual debugging and inspection of test execution. Discover what Trace Viewer is and how it records traces of executed tests, allowing you to replay and visually inspect every action your test performed. Follow a comprehensive demonstration covering the complete workflow: run tests using the --tracing flag with pytest, understand the different tracing options (on, off, retain-on-failure), locate the generated trace.zip file in your test-results directory, and open traces using either the playwright show-trace command or the online trace.playwright.dev interface. Troubleshoot common issues when trace.zip files aren't generated by checking and updating your conftest.py file configuration. Master this essential visual debugging tool to enhance your Playwright Python test automation workflow and improve your ability to diagnose test failures and understand test behavior.
Syllabus
Playwright Python 7 | How to use Trace Viewer
Taught by
Automation Step by Step