Skip to content

Commit

Permalink
chore: migrate src/BrowserFetcher to TypeScript (#5727)
Browse files Browse the repository at this point in the history
* chore: migrate src/BrowserFetcher to TypeScript
  • Loading branch information
jackfranklin committed Apr 24, 2020
1 parent 8509f46 commit 1a4e260
Show file tree
Hide file tree
Showing 5 changed files with 173 additions and 181 deletions.
4 changes: 2 additions & 2 deletions docs/api.md
Expand Up @@ -467,8 +467,8 @@ This methods attaches Puppeteer to an existing browser instance.
- `options` <[Object]>
- `host` <[string]> A download host to be used. Defaults to `https://storage.googleapis.com`. If the `product` is `firefox`, this defaults to `https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central`.
- `path` <[string]> A path for the downloads folder. Defaults to `<root>/.local-chromium`, where `<root>` is puppeteer's package root. If the `product` is `firefox`, this defaults to `<root>/.local-firefox`.
- `platform` <[string]> Possible values are: `mac`, `win32`, `win64`, `linux`. Defaults to the current platform.
- `product` <[string]> Possible values are: `chrome`, `firefox`. Defaults to `chrome`.
- `platform` <"linux"|"win32"|"mac"|"win64"> [string] for the current platform. Possible values are: `mac`, `win32`, `win64`, `linux`. Defaults to the current platform.
- `product` <"chrome"|"firefox"> [string] for the product to run. Possible values are: `chrome`, `firefox`. Defaults to `chrome`.
- returns: <[BrowserFetcher]>

#### puppeteer.defaultArgs([options])
Expand Down

0 comments on commit 1a4e260

Please sign in to comment.