Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
chore(autowait): auto-wait for top level navigations only (#5861)
Pavel Feldman84efdfcbc9f6
diff --git a/src/server/frames.ts b/src/server/frames.tsindex 9f7fe310fc..0fb83a3ce0 100644--- a/src/server/frames.ts+++ b/src/server/frames.ts@@ -1243,6 +1243,9 @@ class SignalBarrier {}async addFrameNavigation(frame: Frame) {+ // Auto-wait top-level navigations only.+ if (frame.parentFrame())+ return;this.retain();const waiter = helper.waitForEvent(null, frame, Frame.Events.Navigation, (e: NavigationEvent) => {if (!e.error && this._progress)