Skip to content

Commit f98bcc5

Browse files
authored
Revert "chore: remove PLAYWRIGHT_SKIP_NAVIGATION_CHECK (#36283)" (#38262)
1 parent c73129a commit f98bcc5

File tree

1 file changed

+2
-0
lines changed
  • packages/playwright-core/src/server

1 file changed

+2
-0
lines changed

packages/playwright-core/src/server/page.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,8 @@ export class Page extends SdkObject {
485485
}
486486

487487
private async _performWaitForNavigationCheck(progress: Progress) {
488+
if (process.env.PLAYWRIGHT_SKIP_NAVIGATION_CHECK)
489+
return;
488490
const mainFrame = this.frameManager.mainFrame();
489491
if (!mainFrame || !mainFrame.pendingDocument())
490492
return;

0 commit comments

Comments
 (0)