Nikolay Vitkov
23d6a95cf1
feat: add warn for headless: true
( #10039 )
...
Co-authored-by: Mathias Bynens <mathias@qiwi.be>
2023-04-21 14:07:10 +02:00
Alex Rudenko
704624eb20
fix: move fs.js to the node folder ( #10055 )
2023-04-21 09:45:04 +02:00
Alex Rudenko
c8f6adf9f3
refactor: use browsers for launchers ( #9937 )
2023-04-04 13:29:21 +00:00
Nikolay Vitkov
1396274477
docs: remove some redundant instances of @returns ( #9943 )
2023-03-30 11:54:00 +00:00
Nikolay Vitkov
e0eef01f1c
docs: use code block for single values ( #9936 )
2023-03-29 15:27:29 +02:00
Nikolay Vitkov
a99abc9a2f
docs: remove unhelpful api pages ( #9933 )
2023-03-28 18:02:00 +00:00
Alex Rudenko
1f76cdda12
chore: replace rimraf with a helper in BrowserFetcher/Connector ( #9890 )
2023-03-21 13:41:56 +01:00
Alex Rudenko
510b36c500
fix: implement protocol-level timeouts ( #9877 )
2023-03-21 11:53:13 +00:00
Nikolay Vitkov
17c650b6d1
chore: prefer use of fs/promise to utils/promisify ( #9848 )
...
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
2023-03-14 18:30:41 +01:00
Alex Rudenko
0165f06dee
fix: update troubleshooting guide links in errors ( #9821 )
2023-03-10 10:37:36 +01:00
Alex Rudenko
cefc4eab47
fix: restore rimraf for puppeteer-core code ( #9815 )
2023-03-09 13:34:42 +01:00
Nikolay Vitkov
38d511b5c2
docs: fix some api-extractor warnings ( #9806 )
2023-03-09 09:22:09 +01:00
jrandolf
2123f809e8
chore: remove rimraf ( #9775 )
2023-03-06 11:33:38 +01:00
Nikolay Vitkov
eefe9583d0
chore: Add EsLint rule import/order ( #9685 )
2023-02-15 15:09:31 -08:00
Alex Rudenko
c6054ac1a5
fix: make chromium-bidi an opt peer dep ( #9667 )
2023-02-14 09:04:54 +00:00
Alex Rudenko
344bc2af62
fix: don't clean up previous browser versions ( #9568 )
...
Since we moved to the central binaries cache it does not make sense to
clean up old binaries automatically because multiple installations can
use different versions. We expect the users to clean the cache from time
to time until we offer a CLI for managing the browsers.
Closes #9533
2023-01-24 17:28:00 +01:00
Alex Rudenko
f59bbf4014
fix: firefox revision resolution should not update chrome revision ( #9507 )
...
Drive-by: don't override options in PuppeteerNode if they are provided.
Closes #9461
2023-01-13 10:57:48 +00:00
Alex Rudenko
df554397b5
fix: make sure browser fetcher in launchers uses configuration ( #9493 )
...
Issue #9470
2023-01-11 21:09:56 +01:00
jrandolf
9bf90d9f4b
fix: use puppeteer node for installation script ( #9489 )
...
Fixed: https://github.com/puppeteer/puppeteer/issues/9470
2023-01-11 16:15:53 +01:00
Alex Rudenko
29a50764d4
chore: add BiDi integration for Chromium ( #9410 )
...
This PR adds experimental support for WebDriver BiDi by making use of
chromium-bidi to implement the BiDi protocol. The tests are disabled on
Windows due to flakiness (filed
https://github.com/GoogleChromeLabs/chromium-bidi/issues/361 ).
2022-12-20 14:37:31 +00:00
Alex Rudenko
1668d47b2f
docs: various doc improvements ( #9396 )
...
See commits for details.
Closes #1837 , #5880 , #7822 , #8101 , #8821 , #9367 , #9382 , #9378 , #4731
2022-12-09 13:57:39 +01:00
Nikolay Vitkov
1875da6191
feat(chromium): roll to Chromium 109.0.5412.0 (r1069273) ( #9364 )
...
Closes #9233
2022-12-07 14:54:00 +01:00
Alex Rudenko
e8c1d56845
chore: import BiDi impl only if the user opts in ( #9335 )
2022-11-29 15:18:40 +01:00
Alex Rudenko
30c6b13eec
chore: re-export all exports ( #9241 )
...
Adds index files to subfolders and removes generation of types.ts in
puppeteer-core.
2022-11-10 17:11:18 +01:00
Alex Rudenko
ae87bfc2b4
feat(puppeteer-core): update Chrome launcher flags ( #9239 )
...
This PR adds:
- `--disable-component-update`
- `--disable-features=MediaRouter`
- `--disable-features=OptimizationHints`
and removes `--disable-features=AvoidUnnecessaryBeforeUnloadCheckSync`.
See
https://github.com/GoogleChrome/chrome-launcher/blob/main/docs/chrome-flags-for-tools.md
2022-11-10 11:43:37 +01:00
jrandolf
29f47e2e15
fix: update missing product message ( #9207 )
...
This PR updates the error message printed when a browser cannot be
found.
Related: https://github.com/puppeteer/puppeteer/issues/9192 ,
https://github.com/puppeteer/puppeteer/issues/9162
2022-11-03 09:32:17 +01:00
jrandolf
f07ad2c661
fix: update documentation on configuring puppeteer ( #9150 )
...
This PR updates the docs regarding configuring puppeteer. In addition,
some changes have been made to the documentation generator to show
default values on the documentation site.
Also fixes: https://github.com/puppeteer/puppeteer/pull/9144
2022-10-24 09:07:05 +02:00
jrandolf
ec201744f0
feat: use configuration files ( #9140 )
...
This PR adds configurations files to `puppeteer`'s methods for
configuration. Under the hood, `puppeteer` relies on
https://www.npmjs.com/package/cosmiconfig which resolves several formats
of configuration:
- a `puppeteer` property in package.json
- a `.puppeteerrc` file in JSON or YAML format
- a `.puppeteerrc.json`, `.puppeteerrc.yaml`, `.puppeteerrc.yml`,
`.puppeteerrc.js`, or `.puppeteerrc.cjs` file
- a `puppeteer.config.js` or `puppeteer.config.cjs` CommonJS module
exporting an object
Documentation will be added later.
Fixed : #9128
2022-10-21 15:09:21 +02:00
jrandolf
efcbc97c60
fix: update BrowserFetcher
deprecation message ( #9141 )
2022-10-20 13:25:24 +02:00
jrandolf
8f4902eed9
chore: use test runner for installation tests ( #9110 )
2022-10-14 13:37:07 +02:00
jrandolf
1fbc3c643f
chore: improve docs ( #9105 )
...
This PR makes some improvements to the documentation. It migrates
docker, debugging, and chrome extension documentation to the `guides`
folder and also updates some of the terminology.
2022-10-13 08:46:53 +00:00
jrandolf
3df375baed
feat!: use ~/.cache/puppeteer
for browser downloads ( #9095 )
2022-10-11 11:20:45 +00:00
jrandolf
7294dfe9c6
feat!: deprecate createBrowserFetcher
in favor of BrowserFetcher
( #9079 )
...
This PR deprecates the `createBrowserFetcher` API and requests users to
import the `BrowserFetcher` directly.
Fixed : #8999
2022-10-10 17:51:18 +02:00
jrandolf
f42336cf83
feat: separate puppeteer and puppeteer-core ( #9023 )
...
This PR moves the puppeteer source code into separate mono-repo packages:
- `puppeteer` and `puppeteer-core` are now separated into their own
packages.
- `puppeteer-core` has a new exports called `puppeteer-core/internal`
for internal usage.
Tests and various tools have been updated to accommodate the migration.
2022-10-05 14:17:03 +02:00