chore: remove PLAYWRIGHT_SKIP_NAVIGATION_CHECK (#36283)

This commit is contained in:
Dmitry Gozman 2025-06-11 17:34:31 +01:00 committed by GitHub
parent 5d0d573718
commit 31865746e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;