mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 21:53:35 +03: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.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
2
types/types.d.ts
vendored
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user