From 60b1264c4dfbb7b18a67ff6c4dca99f0e4e67c5b Mon Sep 17 00:00:00 2001 From: Alex Rudenko Date: Mon, 25 Apr 2022 11:39:28 +0200 Subject: [PATCH] docs: update docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Ergün Erdoğmuş --- docs/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api.md b/docs/api.md index c4e092cfb7949..e691010fabba0 100644 --- a/docs/api.md +++ b/docs/api.md @@ -580,7 +580,7 @@ This methods attaches Puppeteer to an existing browser instance. #### puppeteer.defaultArgs([options]) - `options` <[Object]> Set of configurable options to set on the browser. Can have the following fields: - - `headless` <[boolean]|"chrome"> Whether to run browser in [headless mode](https://developers.google.com/web/updates/2017/04/headless-chrome). Defaults to `true` unless the `devtools` option is `true`. "chrome" is a new experimental headless mode (you at your own risk). + - `headless` <[boolean]|"chrome"> Whether to run browser in [headless mode](https://developers.google.com/web/updates/2017/04/headless-chrome). Defaults to `true` unless the `devtools` option is `true`. "chrome" is a new experimental headless mode (use at your own risk). - `args` <[Array]<[string]>> Additional arguments to pass to the browser instance. The list of Chromium flags can be found [here](http://peter.sh/experiments/chromium-command-line-switches/). - `userDataDir` <[string]> Path to a [User Data Directory](https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/user_data_dir.md). - `devtools` <[boolean]> Whether to auto-open a DevTools panel for each tab. If this option is `true`, the `headless` option will be set `false`.