mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
docs: fix a typo in waitForSelector (#8701)
This commit is contained in:
parent
18e32980cf
commit
3f51831135
@ -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`.
|
- `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.
|
- `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.
|
||||||
|
@ -3292,7 +3292,7 @@ export class Page extends EventEmitter {
|
|||||||
* visible, i.e. to not have `display: none` or `visibility: hidden` CSS
|
* visible, i.e. to not have `display: none` or `visibility: hidden` CSS
|
||||||
* properties. Defaults to `false`.
|
* 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
|
* i.e. have `display: none` or `visibility: hidden` CSS properties. Defaults to
|
||||||
* `false`.
|
* `false`.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user