0
0
mirror of https://github.com/puppeteer/puppeteer synced 2024-06-14 14:02:48 +00:00
Commit Graph

750 Commits

Author SHA1 Message Date
pyoor
2aec35553b
fix: update firefox prefs documentation link () 2021-09-10 18:59:43 +00:00
Nicholas C. Zakas
10e847404e
docs: add Google Cloud Run to troubleshooting guide ()
Issue: 
2021-09-03 10:47:34 +02:00
Paweł Gościcki
78941e562c
docs(api): correct createPDFStream example ()
Prior to this patch, the example results in `browser.close()` being executed before the file is generated/written to disk. One needs to listen for the `end` event on the `ReadableStream` before closing the browser, otherwise an exception is raised:

    UnhandledPromiseRejectionWarning: Error: Protocol error (IO.read): Target closed
2021-09-02 09:26:55 +02:00
Zoltan Boros
930bff5e52
docs(api): clarify “file chooser” meaning ()
Co-authored-by: Mathias Bynens <mathias@qiwi.be>
2021-09-01 09:51:09 +02:00
Maksim Sadym
939ac7f94b
chore: bump version to v10.2.0-post () 2021-08-04 17:30:25 +02:00
Maksim Sadym
c510df8d8e
chore(release): mark v10.2.0 () 2021-08-04 14:45:31 +02:00
Jan Scheffler
18ed92bd08
chore: update documentation ()
Reference `page.setOfflineMode` and `page.emulateNetworkConditions` from each other.
2021-07-30 08:41:42 +00:00
Andres Rondon
5eb20e29a2
fix(browser-runner): reject promise on error ()
This patch adds a reject callback to the _processClosing promise and executes it if it catches an error on removeFolderAsync(...).

Co-authored-by: Mathias Bynens <mathias@qiwi.be>
2021-07-30 09:32:53 +02:00
Mathias Bynens
dd470c7a22
feat(api): make page.isDragInterceptionEnabled a method ()
Having it be a getter is surprising and inconsistent, since the other `page.is*` APIs are just methods.

Issue: 
2021-07-13 11:37:39 +02:00
Yusuke Iwaki
d70f60e061
feat: add channel parameter for puppeteer.launch ()
This change adds a new `channel` parameter to `puppeteer.launch`. When specified, Puppeteer will search for the locally installed release channel of Google Chrome and use it to launch. Available values are `chrome`, `chrome-beta`, `chrome-canary`, `chrome-dev`. This parameter is mutually exclusive with `executablePath`.
2021-07-09 12:43:42 +00:00
Ben Allfree
b5e6474374
feat: add cooperative request intercepts ()
With this change,`request.respond`, `request.abort`, and `request.continue` can accept an optional `priority` to activate Cooperative Intercept Mode. In Cooperative Mode, all intercept handlers are guaranteed to run and all async handlers are awaited. The interception is resolved to the highest-priority resolution. See _Cooperative Intercept Mode and Legacy Intercept Mode_ in `docs/api.md` for details.
2021-07-02 17:58:32 +00:00
Maksim Sadym
859135adb6
chore: use proper cssLayoutMetrics () 2021-07-01 13:23:38 +02:00
Rowan Merewood
7200b1a6fb
feat: add support for useragentdata ()
Adds userAgentData to setUserAgent that supports specifying user agent
data for the new navigator.userAgentData and Client Hints headers.
2021-06-29 18:29:55 +02:00
Jan Scheffler
558b35567c
chore: bump version to v10.1.0-post () 2021-06-29 07:44:38 +00:00
Jan Scheffler
6b13a17ed9
chore(release): mark v10.1.0 () 2021-06-29 09:26:24 +02:00
Brian Misiak
e3699e248b
feat: add a streaming version for page.pdf
Co-authored-by: Jan Scheffler <janscheffler@chromium.org>
2021-06-23 14:51:38 +02:00
Jan Scheffler
4ce4110628
feat: add page.emulateCPUThrottling () 2021-06-22 11:43:11 +00:00
Dan Park
a91b8aca37 feat: add drag-and-drop support ()
This commit adds drag-and-drop support, leveraging new additions to the CDP Input domain (Input.setInterceptDrags, Input.dispatchDragEvent, and Input.dragIntercepted).
2021-06-07 13:50:34 +02:00
Robin Richtsfeld
af83207176
docs(requestinterception): remove outdated NOTE () 2021-06-01 11:29:38 +02:00
Jan Scheffler
f2ab11c640
chore: bump version to v10.0.0-post () 2021-05-31 16:07:51 +02:00
Jan Scheffler
9df7b71e3b
chore(release): mark v10.0.0 () 2021-05-31 14:34:04 +02:00
Jan Scheffler
e7add91d76
chore: fix puppeteer version in chromium roll () 2021-05-31 12:08:52 +00:00
Jan Scheffler
f863f4bfe0
feat(chromium): roll to Chromium 92.0.4512.0 (r884014) () 2021-05-26 16:44:29 +00:00
Robin Richtsfeld
d01aa6c84a
feat(requestinterception): remove cacheSafe flag () 2021-05-20 14:09:56 +02:00
Tim van der Lippe
778ac92469
docs: mention lowercasing of HTTP headers () 2021-05-10 16:27:50 +02:00
Patrick Hulce
cb285a2379
feat: expose other sessions from connection () 2021-05-07 08:31:39 +00:00
Peng-Yu Chen
2605309f74
feat(launcher): add new launcher option waitForInitialPage ()
The existing behavior is expected to be unchanged as the value defaults to true.
Adding such option would allow user to skip the initial wait.

Issue: 
2021-05-06 20:30:04 +00:00
Jan Scheffler
476e9259fe
chore: bump version to v9.1.1-post () 2021-05-05 09:57:19 +00:00
Jan Scheffler
d615dd3d2c
chore(release): mark v9.1.1 () 2021-05-05 10:38:53 +02:00
Jan Scheffler
bcc85a0969
fix: make targetFilter synchronous () 2021-05-05 09:50:50 +02:00
Jan Scheffler
8816645c71
chore: bump version to v9.1.0-post () 2021-05-03 12:40:47 +00:00
Jan Scheffler
1d473bc79f
chore(release): mark v9.1.0 () 2021-05-03 14:08:44 +02:00
Jan Scheffler
ec3fc2e035
feat: add option to filter targets ()
* feat: add option to filter targets

Co-authored-by: Mathias Bynens <mathias@qiwi.be>
2021-05-03 13:48:31 +02:00
Maksim Sadym
0fa0a34802
chore: bump version to v9.0.0-post () 2021-04-21 11:43:49 +00:00
Maksim Sadym
5872e7178a
chore(release): mark v9.0.0 () 2021-04-21 11:18:09 +00:00
Kiko Beats
a22aa5deac
docs(puppeteer-chromium): remove alpine freetype-dev dependency ()
It was added by  but doesn’t seem necessary anymore.
2021-04-19 07:28:01 +02:00
David Barton
66a0d5cbcc
docs(api): major grammatical corrections ()
* docs(api): major grammatical corrections

* fix: own typo in Keyboard comment

Co-authored-by: Jack Franklin <jacktfranklin@chromium.org>
2021-04-06 10:10:00 +00:00
David Barton
c62b02f177
chore: automate prettier in docs ()
Issue: 
Co-authored-by: Mathias Bynens <mathias@qiwi.be>
2021-03-23 10:02:34 +01:00
David Barton
ff860819a7
docs(api): fix lint in code snippets () 2021-03-22 07:12:55 +01:00
Daniel Rowe
dc8ab6d8ca
feat(page): add omitBackground option for page.pdf method () 2021-03-18 19:57:32 +00:00
Robin Richtsfeld
8695759a22
feat(network): request interception and caching compatibility ()
This patch enables developers to also keep the cache on when doing request interception.
2021-03-17 15:42:35 +01:00
Maciej Brencz
35e66c4304
docs(troubleshooting): update Alpine section ()
The latest Chromium provided by Alpine is at version 89.

Co-authored-by: Mathias Bynens <mathias@qiwi.be>
2021-03-09 09:02:24 +01:00
David Barton
abb32801d5
chore: add latest chromium version () 2021-03-04 07:50:08 +01:00
Darío Kondratiuk
2ba61e04e9
fix(filechooser): cancel is sync ()
BREAKING CHANGE: FileChooser.cancel() is now synchronous.
2021-03-02 15:27:11 +01:00
Alex Rudenko
0c26301bee
chore: bump version to v8.0.0-post () 2021-02-26 08:51:52 +00:00
Alex Rudenko
0b5969dea9
chore(release): mark v8.0.0 () 2021-02-26 08:32:27 +00:00
Aurélien Ooms
05c08e7083
docs(api): fix typo in environment variable name ()
`PUPPETEER_SKIP_DOWNLOAD ~ PUPPETEER_SKIP_CHROMIUM_DOWNLOAD`.
2021-02-23 13:36:30 +01:00
su
ebc3e88fce
docs(api): fix typo ()
Issue: 
Co-authored-by: susan51531 <804885378@qq.com>
2021-02-20 11:31:37 +01:00
Jack Franklin
29c059427e
chore: bump to 7.1.0-post () 2021-02-12 11:19:06 +00:00
Jack Franklin
a681aac7e3
chore(release): mark v7.1.0 () 2021-02-12 10:51:43 +00:00