Skip to content

Commit 5c2a1c3

Browse files
committed
fix: example should wait for navigation
1 parent 5ad9273 commit 5c2a1c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ test.describe("Playwright VoiceOver", () => {
4545

4646
// Search for Safari 👀
4747
await page.keyboard.type("Safari");
48-
await vo.performAction();
48+
await Promise.all([page.waitForNavigation(), vo.performAction()]);
4949
expect(page.url()).toBe("https://playwright.dev/docs/browsers#webkit");
5050
});
5151
});

0 commit comments

Comments
 (0)