mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
chore(docs): use shared template for waitFroNavigation.url (#5520)
This commit is contained in:
parent
a891becfba
commit
c3ee1cf9c7
@ -1156,10 +1156,7 @@ a navigation.
|
|||||||
|
|
||||||
### option: Frame.waitForNavigation.timeout = %%-navigation-timeout-%%
|
### option: Frame.waitForNavigation.timeout = %%-navigation-timeout-%%
|
||||||
|
|
||||||
### option: Frame.waitForNavigation.url
|
### option: Frame.waitForNavigation.url = %%-wait-for-navigation-url-%%
|
||||||
- `url` <[string]|[RegExp]|[function]\([URL]\):[boolean]>
|
|
||||||
|
|
||||||
URL string, URL regex pattern or predicate receiving [URL] to match while waiting for the navigation.
|
|
||||||
|
|
||||||
### option: Frame.waitForNavigation.waitUntil = %%-navigation-wait-until-%%
|
### option: Frame.waitForNavigation.waitUntil = %%-navigation-wait-until-%%
|
||||||
|
|
||||||
|
|||||||
2
types/types.d.ts
vendored
2
types/types.d.ts
vendored
@ -4457,7 +4457,7 @@ export interface Frame {
|
|||||||
timeout?: number;
|
timeout?: number;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* URL string, URL regex pattern or predicate receiving [URL] to match while waiting for the navigation.
|
* A glob pattern, regex pattern or predicate receiving [URL] to match while waiting for the navigation.
|
||||||
*/
|
*/
|
||||||
url?: string|RegExp|((url: URL) => boolean);
|
url?: string|RegExp|((url: URL) => boolean);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user