From 7b5d7ddac2b3e6edd7db30af1139e03cc6e56124 Mon Sep 17 00:00:00 2001 From: Eric Bidelman Date: Mon, 9 Oct 2017 22:24:21 -0700 Subject: [PATCH] docs(readme): fix typo (#988) --- docs/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api.md b/docs/api.md index 715b1f8d20e..f4d43cc6b31 100644 --- a/docs/api.md +++ b/docs/api.md @@ -220,7 +220,7 @@ This methods attaches Puppeteer to an existing Chromium instance. - `dumpio` <[boolean]> Whether to pipe browser process stdout and stderr into `process.stdout` and `process.stderr`. Defaults to `false`. - `userDataDir` <[string]> Path to a [User Data Directory](https://chromium.googlesource.com/chromium/src/+/master/docs/user_data_dir.md). - `env` <[Object]> Specify environment variables that will be visible to Chromium. Defaults to `process.env`. - - `devtools` <[boolean]> Wether to auto-open DevTools window for each tab. If this option is `true`, the `headless` option will be set `false`. + - `devtools` <[boolean]> Whether to auto-open DevTools panel for each tab. If this option is `true`, the `headless` option will be set `false`. - returns: <[Promise]<[Browser]>> Promise which resolves to browser instance. The method launches a browser instance with given arguments. The browser will be closed when the parent node.js process is closed.