docs: fixes typo (#13094)

Co-authored-by: Max Schmitt <max@schmitt.mx>
This commit is contained in:
Akul Srivastava 2022-04-06 15:30:51 +05:30 committed by GitHub
parent faaac318f4
commit d9d826b7f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 11 deletions

View File

@ -87,7 +87,7 @@ class BrowserTypeExamples
## async method: BrowserType.connect
- returns: <[Browser]>
This methods attaches Playwright to an existing browser instance.
This method attaches Playwright to an existing browser instance.
### param: BrowserType.connect.wsEndpoint
- `wsEndpoint` <[string]>
@ -120,7 +120,7 @@ Maximum time in milliseconds to wait for the connection to be established. Defau
## async method: BrowserType.connectOverCDP
- returns: <[Browser]>
This methods attaches Playwright to an existing browser instance using the Chrome DevTools Protocol.
This method attaches Playwright to an existing browser instance using the Chrome DevTools Protocol.
The default browser context is accessible via [`method: Browser.contexts`].

View File

@ -628,7 +628,7 @@ is considered matching if all specified properties match.
- `url` <[string]|[RegExp]|[function]\([URL]\):[boolean]>
A glob pattern, regex pattern or predicate receiving [URL] to match while waiting for the navigation. Note that if
the parameter is a string without wilcard characters, the method will wait for navigation to URL that is exactly
the parameter is a string without wildcard characters, the method will wait for navigation to URL that is exactly
equal to the string.
## wait-for-event-event

View File

@ -3809,7 +3809,7 @@ export interface Page {
/**
* A glob pattern, regex pattern or predicate receiving [URL] to match while waiting for the navigation. Note that if the
* parameter is a string without wilcard characters, the method will wait for navigation to URL that is exactly equal to
* parameter is a string without wildcard characters, the method will wait for navigation to URL that is exactly equal to
* the string.
*/
url?: string|RegExp|((url: URL) => boolean);
@ -3922,7 +3922,7 @@ export interface Page {
*
* Shortcut for main frame's
* [frame.waitForURL(url[, options])](https://playwright.dev/docs/api/class-frame#frame-wait-for-url).
* @param url A glob pattern, regex pattern or predicate receiving [URL] to match while waiting for the navigation. Note that if the parameter is a string without wilcard characters, the method will wait for navigation to URL that is exactly equal to
* @param url A glob pattern, regex pattern or predicate receiving [URL] to match while waiting for the navigation. Note that if the parameter is a string without wildcard characters, the method will wait for navigation to URL that is exactly equal to
* the string.
* @param options
*/
@ -6020,7 +6020,7 @@ export interface Frame {
/**
* A glob pattern, regex pattern or predicate receiving [URL] to match while waiting for the navigation. Note that if the
* parameter is a string without wilcard characters, the method will wait for navigation to URL that is exactly equal to
* parameter is a string without wildcard characters, the method will wait for navigation to URL that is exactly equal to
* the string.
*/
url?: string|RegExp|((url: URL) => boolean);
@ -6052,7 +6052,7 @@ export interface Frame {
* await frame.waitForURL('**\/target.html');
* ```
*
* @param url A glob pattern, regex pattern or predicate receiving [URL] to match while waiting for the navigation. Note that if the parameter is a string without wilcard characters, the method will wait for navigation to URL that is exactly equal to
* @param url A glob pattern, regex pattern or predicate receiving [URL] to match while waiting for the navigation. Note that if the parameter is a string without wildcard characters, the method will wait for navigation to URL that is exactly equal to
* the string.
* @param options
*/
@ -9922,7 +9922,7 @@ export interface Locator {
*/
export interface BrowserType<Unused = {}> {
/**
* This methods attaches Playwright to an existing browser instance using the Chrome DevTools Protocol.
* This method attaches Playwright to an existing browser instance using the Chrome DevTools Protocol.
*
* The default browser context is accessible via
* [browser.contexts()](https://playwright.dev/docs/api/class-browser#browser-contexts).
@ -9937,7 +9937,7 @@ export interface BrowserType<Unused = {}> {
* @deprecated
*/
/**
* This methods attaches Playwright to an existing browser instance using the Chrome DevTools Protocol.
* This method attaches Playwright to an existing browser instance using the Chrome DevTools Protocol.
*
* The default browser context is accessible via
* [browser.contexts()](https://playwright.dev/docs/api/class-browser#browser-contexts).
@ -9948,7 +9948,7 @@ export interface BrowserType<Unused = {}> {
*/
connectOverCDP(options: ConnectOverCDPOptions & { wsEndpoint?: string }): Promise<Browser>;
/**
* This methods attaches Playwright to an existing browser instance.
* This method attaches Playwright to an existing browser instance.
* @param wsEndpoint A browser websocket endpoint to connect to.
* @param options
*/
@ -9960,7 +9960,7 @@ export interface BrowserType<Unused = {}> {
* @deprecated
*/
/**
* This methods attaches Playwright to an existing browser instance.
* This method attaches Playwright to an existing browser instance.
* @param wsEndpoint A browser websocket endpoint to connect to.
* @param options
*/