mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
Previously, screenshot was taken after hooks and fixtures teardown. However, hooks can easily modify the state of the page, and screenshot would not reflect the moment of failure. Instead, we take screenshots immediately after the test function finishes with an error.
@playwright/test
This package contains Playwright Test. A test-runner for writing idiomatic and reliable end-to-end tests with Playwright.