Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

chore: fix flaky codegen test by not recording x-pw- actions (#39211)

Simon Knottf60a378f438b
diff --git a/tests/library/inspector/inspectorTest.ts b/tests/library/inspector/inspectorTest.ts
index 0f0ec91910..fa1ccc9fb9 100644
--- a/tests/library/inspector/inspectorTest.ts
+++ b/tests/library/inspector/inspectorTest.ts
@@ -92,6 +92,7 @@ export const test = contextTest.extend<CLITestArgs>({
await use(async options => {
await (context as any)._enableRecorder({
mode: 'recording',
+ omitCallTracking: true,
...options
});
const page = await context.newPage();