Skip to content

Commit

Permalink
docs: fix a typo in waitForSelector (#8701)
Browse files Browse the repository at this point in the history
  • Loading branch information
OrKoN committed Jul 27, 2022
1 parent 18e3298 commit 3f51831
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/api/puppeteer.page.waitforselector.md
Expand Up @@ -58,6 +58,6 @@ The optional Parameter in Arguments `options` are :

- `Visible`: A boolean wait for element to be present in DOM and to be visible, i.e. to not have `display: none` or `visibility: hidden` CSS properties. Defaults to `false`.

- `hidden`: ait for element to not be found in the DOM or to be hidden, i.e. have `display: none` or `visibility: hidden` CSS properties. Defaults to `false`.
- `hidden`: Wait for element to not be found in the DOM or to be hidden, i.e. have `display: none` or `visibility: hidden` CSS properties. Defaults to `false`.

- `timeout`: maximum time to wait for in milliseconds. Defaults to `30000` (30 seconds). Pass `0` to disable timeout. The default value can be changed by using the [Page.setDefaultTimeout()](./puppeteer.page.setdefaulttimeout.md) method.
2 changes: 1 addition & 1 deletion src/common/Page.ts
Expand Up @@ -3292,7 +3292,7 @@ export class Page extends EventEmitter {
* visible, i.e. to not have `display: none` or `visibility: hidden` CSS
* properties. Defaults to `false`.
*
* - `hidden`: ait for element to not be found in the DOM or to be hidden,
* - `hidden`: Wait for element to not be found in the DOM or to be hidden,
* i.e. have `display: none` or `visibility: hidden` CSS properties. Defaults to
* `false`.
*
Expand Down

0 comments on commit 3f51831

Please sign in to comment.