mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
docs: fix instructions for headful mode (#10063)
This commit is contained in:
parent
513f658989
commit
23b6ae844e
@ -193,8 +193,8 @@ We recommend you try it out before the switch:
|
|||||||
const browser = await puppeteer.launch({headless: 'new'});
|
const browser = await puppeteer.launch({headless: 'new'});
|
||||||
```
|
```
|
||||||
|
|
||||||
To launch a full version of Chromium, set the
|
To launch a "headful" version of Chromium, set the
|
||||||
[`headless`](https://pptr.dev/api/puppeteer.browserlaunchargumentoptions) to `true`
|
[`headless`](https://pptr.dev/api/puppeteer.browserlaunchargumentoptions) to `false`
|
||||||
option when launching a browser:
|
option when launching a browser:
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
|
Loading…
Reference in New Issue
Block a user