Skip to content

Commit addaf7d

Browse files
committed
update readme
1 parent 5e67a35 commit addaf7d

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed

readme.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,20 +65,41 @@ String.
6565

6666
Type: `Object`
6767

68+
Default: `null`
69+
6870
#### debug
6971

70-
Type: `Boolean` Default: `false`
72+
Type: `Boolean`
73+
74+
Default: `false`
7175

7276
Set to `true` if you want a Chromium window to open as it works to get all the
7377
CSS from the page.
7478

7579
#### waitUntil
7680

77-
Type: `String` Default: `networkidle2`
81+
Type: `String`
82+
83+
Default: `networkidle2`
7884

7985
Can be any value as provided by the
8086
[Puppeteer docs](https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#pagegotourl-options).
8187

88+
#### browserOverride
89+
90+
Type: `Object`
91+
92+
Default: `null`
93+
94+
An object consisting of the following fields:
95+
96+
- `executablePath`: the path to a Chromium binary
97+
- `puppeteer`: a Puppeteer instance
98+
- `args`: arguments to start Chromium with
99+
100+
See the `test` directory for implementation examples. This option exists
101+
primarily for use with [extract-css.now.sh](https://extract-css.now.sh)
102+
82103
## Related
83104

84105
- [extract-css lambda](https://github.com/bartveneman/extract-css) - Extract CSS

0 commit comments

Comments
 (0)