Skip to content

Commit

Permalink
docs: fix instructions for headful mode
Browse files Browse the repository at this point in the history
  • Loading branch information
vladikoff authored and OrKoN committed Apr 24, 2023
1 parent 513f658 commit efaf2e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit efaf2e7

Please sign in to comment.