Trace Viewer
// playwright.config.ts
import type { PlaywrightTestConfig } from '@playwright/test';
const config: PlaywrightTestConfig = {
...
use: {
trace: 'on-first-retry', // record traces on first retry of each test
},
};
export default config;Last updated