Skip to content

Commit

Permalink
chore(docs): use shared template for waitFroNavigation.url (#5520)
Browse files Browse the repository at this point in the history
  • Loading branch information
yury-s committed Feb 22, 2021
1 parent a891bec commit c3ee1cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions docs/src/api/class-frame.md
Expand Up @@ -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-%%

Expand Down
2 changes: 1 addition & 1 deletion types/types.d.ts
Expand Up @@ -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);

Expand Down

0 comments on commit c3ee1cf

Please sign in to comment.