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'});
|
||||
```
|
||||
|
||||
To launch a full version of Chromium, set the
|
||||
[`headless`](https://pptr.dev/api/puppeteer.browserlaunchargumentoptions) to `true`
|
||||
To launch a "headful" version of Chromium, set the
|
||||
[`headless`](https://pptr.dev/api/puppeteer.browserlaunchargumentoptions) to `false`
|
||||
option when launching a browser:
|
||||
|
||||
```ts
|
||||
|
Loading…
Reference in New Issue
Block a user