Skip to content

Commit

Permalink
chore(docs): use shared template for waitFroNavigation.url (microsoft…
Browse files Browse the repository at this point in the history
  • Loading branch information
yury-s authored 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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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.