Skip to content

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

chore: remove PLAYWRIGHT_SKIP_NAVIGATION_CHECK (#36283)

Dmitry Gozman31865746e0d0
diff --git a/packages/playwright-core/src/server/page.ts b/packages/playwright-core/src/server/page.ts
index 01392f7b1b..66947dfb49 100644
--- a/packages/playwright-core/src/server/page.ts
+++ b/packages/playwright-core/src/server/page.ts
@@ -455,8 +455,6 @@ export class Page extends SdkObject {
}
private async _performWaitForNavigationCheck(progress: Progress) {
- if (process.env.PLAYWRIGHT_SKIP_NAVIGATION_CHECK)
- return;
const mainFrame = this.frameManager.mainFrame();
if (!mainFrame || !mainFrame.pendingDocument())
return;