parent
1b0c350d0a
commit
c4f43b4534
|
|
@ -317,7 +317,7 @@ await Promise.all([
|
||||||
// It is important to call waitForNavigation before click to set up waiting.
|
// It is important to call waitForNavigation before click to set up waiting.
|
||||||
page.waitForNavigation(),
|
page.waitForNavigation(),
|
||||||
// Triggers a navigation after a timeout.
|
// Triggers a navigation after a timeout.
|
||||||
page.locator('div.delayed-navigation').clikc(),
|
page.locator('div.delayed-navigation').click(),
|
||||||
]);
|
]);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -503,4 +503,4 @@ await page.ScreenshotAsync();
|
||||||
```
|
```
|
||||||
|
|
||||||
### API reference
|
### API reference
|
||||||
- [`method: Page.waitForFunction`]
|
- [`method: Page.waitForFunction`]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue