chore(docs): use shared template for waitFroNavigation.url (#5520)

This commit is contained in:
Yury Semikhatsky 2021-02-22 10:23:02 -08:00 committed by GitHub
parent a891becfba
commit c3ee1cf9c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 5 deletions

View File

@ -1156,10 +1156,7 @@ a navigation.
### option: Frame.waitForNavigation.timeout = %%-navigation-timeout-%%
### option: Frame.waitForNavigation.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.url = %%-wait-for-navigation-url-%%
### option: Frame.waitForNavigation.waitUntil = %%-navigation-wait-until-%%

2
types/types.d.ts vendored
View File

@ -4457,7 +4457,7 @@ export interface Frame {
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);