Skip to content

Commit

Permalink
Match option description
Browse files Browse the repository at this point in the history
  • Loading branch information
ankur22 committed Jul 19, 2022
1 parent fcef57f commit 5330622
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ If a [page](/javascript-api/xk6-browser/page) opens another page, e.g. with a `w
| <BWIPT id="443"/> [BrowserContext.clearPermissions()](/javascript-api/xk6-browser/browsercontext/clearpermissions) | Clears all permission overrides for the `BrowserContext`. |
| [BrowserContext.close()](/javascript-api/xk6-browser/browsercontext/close) | Close the `BrowserContext` and all its [page](/javascript-api/xk6-browser/page)s. |
| [BrowserContext.grantPermissions(permissions[, options])](/javascript-api/xk6-browser/browsercontext/grantpermissions) | Grants specified permissions to the `BrowserContext`. |
| [BrowserContext.newPage()](/javascript-api/xk6-browser/browsercontext/newpage) | Creates a new [page](/javascript-api/xk6-browser/page) belonging to the `BrowserContext`. |
| <BWIPT id="444"/> [BrowserContext.pages()](/javascript-api/xk6-browser/browsercontext/pages) | Returns a list of [page](/javascript-api/xk6-browser/page)s that belongs to the `BrowserContext`. |
| [BrowserContext.newPage()](/javascript-api/xk6-browser/browsercontext/newpage) | Creates a new [page](/javascript-api/xk6-browser/page) belonging to the `BrowserContext`. |
| <BWIPT id="444"/> [BrowserContext.pages()](/javascript-api/xk6-browser/browsercontext/pages) | Returns a list of [page](/javascript-api/xk6-browser/page)s that belongs to the `BrowserContext`. |
| <BWIPT id="445"/> [BrowserContext.setDefaultNavigationTimeout(timeout)](/javascript-api/xk6-browser/browsercontext/setdefaultnavigationtimeout) | Sets the default navigation timeout in milliseconds. |
| <BWIPT id="456"/> [BrowserContext.setDefaultTimeout(timeout)](/javascript-api/xk6-browser/browsercontext/setdefaulttiontimeout) | Sets the default maximum timeout in milliseconds. |
| <BWIPT id="456"/> [BrowserContext.setDefaultTimeout(timeout)](/javascript-api/xk6-browser/browsercontext/setdefaulttimeout) | Sets the default maximum timeout for all methods accepting a timeout option in milliseconds. |
| <BWIPT id="435"/> [BrowserContext.setGeolocation(geolocation)](/javascript-api/xk6-browser/browsercontext/setgeolocation) | Sets the `BrowserContext`'s geolocation. |
| [BrowserContext.setOffline(offline)](/javascript-api/xk6-browser/browsercontext/setoffline) | Toggles the `BrowserContext`'s connectivity on/off. |
| <BWIPT id="447"/> [BrowserContext.waitForEvent(event[, optionsOrPredicate])](/javascript-api/xk6-browser/browsercontext/waitforevent) | Waits for the event to fire and passes its value into the predicate function. |
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ There is a known issue with this feature. See [issue #456](https://github.com/gr

</Blockquote>

Sets the default maximum timeout for all methods accepting a `timeout` option.
Sets the default maximum timeout for all methods accepting a `timeout` option in milliseconds.

| Parameter | Type | Description |
| --------- | ------ | ---------------------------- |
Expand Down

0 comments on commit 5330622

Please sign in to comment.