Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Playwright Python - How to Use Trace Viewer - Part 7

Automation Step by Step via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
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

Reviews

Start your review of Playwright Python - How to Use Trace Viewer - Part 7

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.