mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 05:37:20 +03:00
docs: text nits (2)
This commit is contained in:
parent
9233a61bda
commit
250c51fd9f
@ -1428,7 +1428,7 @@ with frame.expect_navigation():
|
||||
await frame.RunAndWaitForNavigationAsync(async () =>
|
||||
{
|
||||
// Clicking the link will indirectly cause a navigation.
|
||||
await frame.ClickAsync("a.delayed-navigation"));
|
||||
await frame.ClickAsync("a.delayed-navigation");
|
||||
});
|
||||
|
||||
// Resolves after navigation has finished
|
||||
|
@ -3276,7 +3276,7 @@ with page.expect_navigation():
|
||||
await page.RunAndWaitForNavigationAsync(async () =>
|
||||
{
|
||||
// Clicking the link will indirectly cause a navigation.
|
||||
await page.ClickAsync("a.delayed-navigation"));
|
||||
await page.ClickAsync("a.delayed-navigation");
|
||||
});
|
||||
|
||||
// The method continues after navigation has finished
|
||||
|
Loading…
Reference in New Issue
Block a user