Alex Rudenko
1308d9aa6a
feat: support chrome headless mode ( #8260 )
...
* feat: support chrome headless mode
Co-authored-by: Ergün Erdoğmuş <erdogmusergun@gmail.com>
2022-04-25 13:11:23 +02:00
wuchong
952a2ae0bc
fix: doc typo ( #8263 )
2022-04-22 06:41:13 +00:00
Ergün Erdoğmuş
9a9ec8f65b
chore: bump version to v13.6.0-post ( #8251 )
2022-04-20 08:40:35 +00:00
Ergün Erdoğmuş
29a309915d
chore(release): mark v13.6.0 ( #8249 )
...
Co-authored-by: Ergün Erdoğmuş <ergunsh@chromium.org>
2022-04-20 10:07:34 +02:00
Andreas Opferkuch
0c8174b987
docs: improve custom query handler docs ( #8235 )
2022-04-19 12:48:22 +00:00
Alex Rudenko
ed4afe81a5
docs: typos and minor documentation issues ( #8211 )
2022-04-08 11:58:55 +02:00
Junyan
c1dcd857e3
feat: respond multiple headers with same key ( #8183 )
2022-04-05 09:06:35 +00:00
Alex Rudenko
7cb36027e2
chore: bump version to v13.5.2-post ( #8179 )
2022-03-31 09:33:03 +00:00
Alex Rudenko
0d9699be37
chore(release): mark v13.5.2 ( #8175 )
2022-03-31 10:13:58 +02:00
Alex Rudenko
7dede4f051
chore: bump version to v13.5.1-post ( #8120 )
2022-03-09 16:01:24 +01:00
Alex Rudenko
e28462c3db
chore(release): mark v13.5.1 ( #8118 )
2022-03-09 13:18:06 +00:00
Alex Rudenko
ffbac6e281
chore: bump version to v13.5.0-post ( #8111 )
2022-03-07 15:15:32 +01:00
Alex Rudenko
7b38b458c9
chore(release): mark v13.5.0 ( #8110 )
2022-03-07 13:58:56 +01:00
Alex Rudenko
7480fc52bd
chore: bump version to v13.4.1-post ( #8082 )
2022-03-01 08:19:22 +00:00
Alex Rudenko
69d5ef59ee
chore(release): mark v13.4.1 ( #8078 )
2022-03-01 07:21:07 +00:00
Johan Bay
53977b80c6
docs(api.md): fix missing space in reference ( #8075 )
2022-02-28 12:11:41 +01:00
Johan Bay
bc9ec323cc
docs(api.md): add documentation on custom handlers ( #8074 )
2022-02-28 10:43:59 +01:00
kirintw
213deb1921
docs(troubleshooting.md): fix alpine install adduser command ( #8068 )
2022-02-25 11:13:37 +00:00
Alex Rudenko
7e1794cdb2
chore: bump version to v13.4.0-post ( #8053 )
2022-02-22 13:01:22 +00:00
Alex Rudenko
7f47c8133a
chore(release): mark v13.4.0 ( #8052 )
2022-02-22 13:34:25 +01:00
Tmk
dbf0639822
feat: add support for async waitForTarget ( #7885 )
...
* feat: add support for async waitForTarget
* fix: add timeout
* fix: potential async bugs
2022-02-18 12:05:29 +01:00
弘树@阿里
e5aa4f2965
docs: update firefox flags link ( #7779 )
...
The original link <https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options > returns 'Page not found', I searched and guess the new available link should be <https://wiki.mozilla.org/Firefox/CommandLineOptions >
2022-02-15 13:29:11 +01:00
omjadas
30b3d49b0d
feat(HTTPResponse): expose timing information ( #8025 )
2022-02-15 11:16:49 +01:00
Alex Rudenko
d5deb92c33
chore: bump version to v13.3.2-post ( #8017 )
2022-02-14 13:21:40 +01:00
Alex Rudenko
1c2566bae5
chore(release): mark v13.3.2 ( #8015 )
2022-02-14 11:14:18 +00:00
Nick Schonning
b2bf70fc3b
chore: update prettier globs and format files ( #7856 )
...
* chore: update prettier globs and format files
* fix: remove reference to Markdownlint
2022-02-11 20:29:43 +01:00
Yang Yang
4ce72abcbd
docs: heading ID references in docs/api.md ( #7974 )
...
- `Worker` -> `WebWorker`, `#class-worker` -> `#class-webworker`
- `#pagesetuseragentuseragent-useragentdata` -> `#pagesetuseragentuseragent-useragentmetadata`
- `####WaitTimeoutOptions` -> `#waittimeoutoptions`
- `#cooperative-intercept-mode-and-legacy-intercept-mode` -> `#cooperative-intercept-mode`
Co-authored-by: jrandolf <86539915+jrandolf@users.noreply.github.com>
2022-02-11 13:43:52 +00:00
jrandolf
55c38a25c8
chore: bump version to v13.3.1-post ( #7998 )
...
Co-authored-by: Randolf Jung <jrandolf@chromium.org>
2022-02-10 15:26:20 +00:00
jrandolf
90505a77be
chore(release): mark v13.3.1 ( #7997 )
...
Co-authored-by: Randolf Jung <jrandolf@chromium.org>
2022-02-10 14:59:28 +00:00
jrandolf
9b00b7074d
chore: bump version to v13.3.0-post ( #7983 )
...
Co-authored-by: Randolf Jung <jrandolf@chromium.org>
2022-02-09 18:16:16 +00:00
jrandolf
6879f9cfe1
chore(release): mark v13.3.0 ( #7979 )
...
Co-authored-by: Randolf Jung <jrandolf@chromium.org>
2022-02-09 17:01:45 +00:00
Alex Rudenko
02d651d209
chore: bump version to v13.2.0-post ( #7971 )
2022-02-07 15:19:58 +00:00
Alex Rudenko
b531f498e9
chore(release): mark v13.2.0 ( #7970 )
2022-02-07 15:35:33 +01:00
Alex Rudenko
41ab4e9127
fix: typos in documentation ( #7968 )
2022-02-07 14:03:54 +01:00
Alex Rudenko
161b283ea4
chore: bump version to v13.1.3-post ( #7947 )
2022-01-31 13:19:56 +01:00
Alex Rudenko
7b76883802
chore(release): mark v13.1.3 ( #7946 )
2022-01-31 10:15:42 +01:00
Alex Rudenko
be3fce5f9d
chore: bump version to v13.1.2-post ( #7926 )
2022-01-25 08:24:23 +00:00
Alex Rudenko
0a9eb3c9a5
chore(release): mark v13.1.2 ( #7925 )
2022-01-25 07:55:07 +00:00
Alex Rudenko
08c0e8b75d
chore: bump version to v13.1.1-post ( #7913 )
2022-01-18 09:18:24 +00:00
Alex Rudenko
f108560be8
chore(release): mark v13.1.1 ( #7912 )
2022-01-18 08:55:34 +00:00
Alex Rudenko
c09522a5f2
chore: bump version to v13.1.0-post ( #7909 )
2022-01-17 15:31:33 +00:00
Alex Rudenko
80d6b84ded
chore(release): mark v13.1.0 ( #7908 )
2022-01-17 15:40:56 +01:00
Alex Rudenko
59578d9cd5
chore: bump version to v13.0.1-post ( #7866 )
2021-12-22 09:06:22 +00:00
Alex Rudenko
71cef32f6d
chore(release): mark v13.0.1 ( #7865 )
2021-12-22 09:06:12 +01:00
Kiko Beats
3e3a90be53
docs: fix typo ( #7839 )
2021-12-13 07:56:26 +01:00
Alex Rudenko
acdc67bd02
chore: bump version to v13.0.0-post ( #7833 )
2021-12-10 09:41:27 +00:00
Alex Rudenko
d0cb9e2573
chore(release): mark v13.0.0 ( #7832 )
2021-12-10 09:02:39 +00:00
Ben Allfree
824242246d
fix!: typo in 'already-handled' constant of the request interception API ( #7813 )
...
Issues: #7745 , #7747 , #7780
Co-authored-by: Rodrigo Fernández <fdez.romero@gmail.com>
2021-12-09 14:57:40 +00:00
Alex Rudenko
c03429444d
feat: implement Element.waitForSelector ( #7825 )
...
Co-authored-by: Johan Bay <jobay@google.com>
Co-authored-by: Mathias Bynens <mathias@qiwi.be>
2021-12-09 11:51:14 +00:00
Ben Allfree
dc23b7535c
feat: expose HTTPRequest intercept resolution state and clarify docs ( #7796 )
...
Co-authored-by: Rodrigo Fernández <fdez.romero@gmail.com>
2021-12-07 08:48:42 +01:00
Alex Rudenko
09426e5931
chore: bump version to v12.0.1-post ( #7812 )
2021-11-29 20:28:30 +00:00
Alex Rudenko
913ff123ec
chore(release): mark v12.0.1 ( #7810 )
2021-11-29 20:06:56 +00:00
Alex Rudenko
921c3bcfcf
chore: bump version to v12.0.0-post ( #7804 )
2021-11-29 14:24:04 +01:00
Alex Rudenko
641588a783
chore(release): mark v12.0.0 ( #7800 )
2021-11-26 08:58:29 +00:00
Jan Scheffler
ad7f1de44f
chore: bump version to v11.0.0-post ( #7741 )
2021-11-03 09:49:17 +00:00
Jan Scheffler
e2e98376b9
chore(release): mark v11.0.0 ( #7737 )
2021-11-02 14:36:33 +00:00
Jan Scheffler
4d9dc8c0e6
feat(oop iframes)!: integrate OOP iframes with the frame manager ( #7556 )
...
This pull request to adds better support for OOP iframes (see #2548 )
The current problem with OOP iframes is that they are moved to a different target. Because of this, the previous versions of Puppeteer pretty much ignored them.
This change extends the FrameManager to already take OOP iframes into account and hides the fact that those frames are actually in different targets.
Further work needs to be done to also make the NetworkManager aware of these and to make sure that settings like emulations etc. are also properly passed down to the new targets.
2021-10-28 11:25:49 +02:00
Kiko Beats
105bb22566
docs: fix typo ( #7708 )
2021-10-19 10:16:24 +02:00
ilya-sharonov
edb01972b9
fix: updated troubleshooting.md to meet latest dependencies changes ( #7656 )
2021-10-08 19:09:04 +00:00
Josh Grime
44c9ec67c5
fix(page): fallback to default in exposeFunction when using imported module ( #6365 )
2021-09-29 18:32:49 +02:00
Jan Scheffler
a271145b06
feat: add initiator to HTTPRequest ( #7614 )
...
Co-Authored-By: atersolis <atersolis@atersolis.net>
2021-09-29 15:14:21 +00:00
Tan Li Hau
26145e9a24
feat: add custom debugging port option ( #4993 )
2021-09-29 16:05:18 +02:00
Kiko Beats
b1f6e8692b
feat: allow to customize tmpdir ( #7243 )
2021-09-23 09:26:00 +02:00
Jan Scheffler
df36a618f7
chore: bump version to v10.4.0-post ( #7588 )
2021-09-22 07:22:32 +02:00
Jan Scheffler
5631d3aebc
chore(release): mark v10.4.0 ( #7586 )
2021-09-21 17:29:27 +02:00
Jonathan Church
43a9268325
feat: add webp to screenshot options ( #7565 )
2021-09-21 14:26:20 +00:00
Alex Rudenko
8451951483
feat(page): mark page.client() as internal ( #7585 )
...
This PR marks the .client() method as internal since
we don't encourage our users to use it.
2021-09-21 13:20:02 +00:00
Alex Rudenko
99ca842124
feat(page): expose page.client() ( #7582 )
...
Puppeteer already allows creating a new CDP session
via target.createCDPSession but there is no way
to get access to any existing session to send
some additional commands.
2021-09-21 07:39:47 +00:00
Alex Rudenko
2b5c0019dc
feat: add ability to specify offsets for JSHandle.click ( #7573 )
...
Until now, the click would be always sent to the middle
point of the target element. With this change, one can define
offsets relative to the border box of the elements and click
different areas of an element.
2021-09-20 09:01:32 +00:00
Joone Hur
8e45a1c882
feat: add proxy and bypass list parameters to createIncognitoBrowserContext ( #7516 )
...
Example:
(async () => {
const browser = await puppeteer.launch();
const context = await browser.createIncognitoBrowserContext('myproxy.com:3128');
const page = await context.newPage()
await page.authenticate({username: 'foo', password: 'bar' });
await page.goto('https://google.com ');
await browser.close();
})();
Issue: #678
2021-09-18 11:56:05 +02:00
Max White
eda5171279
feat: add durableStorage to allowed permissions ( #5295 )
2021-09-16 10:35:36 +00:00
Ron0115
54c4318016
feat: add threshold to Page.isIntersectingViewport ( #6497 )
2021-09-15 22:56:50 +02:00
Ben Elliott
9399c9786f
fix(install): respect environment proxy config when downloading Firef… ( #6577 )
...
Issues: #6573
2021-09-15 19:41:03 +00:00
Noam Lustiger
300be5d167
feat: add id option to addScriptTag ( #5477 )
2021-09-14 23:02:05 +02:00
Li Wenyan
f90af6639d
feat: support timeout for page.pdf() call ( #7508 )
2021-09-14 16:11:14 +00:00
Mathias Bynens
686030fe0d
chore: remove references to upstream master
branches ( #7412 )
...
Chromium had its branch renamed to `main`, and for other projects we can just point to the `HEAD`.
2021-09-14 15:02:39 +00:00
Andy Chosak
32cb9e93d6
docs: bump recommended version for Alpine Docker ( #7563 )
...
The current documentation for running with an Alpine-based Docker image
recommends using Chromium 89 / Puppeteer 6.0.0.
Chromium 92 is now supported by Puppeteer 10.0.0; this commit bumps the
recommended versions.
2021-09-14 13:07:12 +00:00
Net
ae24bcaf6d
chore(docs): add instructions for headless GPU acceleration ( #6924 )
2021-09-13 09:47:18 +00:00
Tom Jenkinson
3c6029c702
feat(api): implement Page.waitForNetworkIdle()
( #5140 )
...
which will wait for there to be no network requests in progress during the `idleTime` before resolving.
2021-09-11 22:28:12 +02:00
Vitalii Tverdokhlib
907290b2fd
chore(docs): update alpine version ( #5099 )
2021-09-11 10:07:29 +00:00
Conrad Magnus Kirschner
0075a714fd
chore: update Dockerfile in troubleshooting.md ( #7015 )
...
Update to fix no package.json failure on some systems
2021-09-11 08:44:53 +00:00
pyoor
2aec35553b
fix: update firefox prefs documentation link ( #7539 )
2021-09-10 18:59:43 +00:00
Nicholas C. Zakas
10e847404e
docs: add Google Cloud Run to troubleshooting guide ( #7541 )
...
Issue: #7519
2021-09-03 10:47:34 +02:00
Paweł Gościcki
78941e562c
docs(api): correct createPDFStream
example ( #7538 )
...
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 ( #7534 )
...
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 ( #7468 )
2021-08-04 17:30:25 +02:00
Maksim Sadym
c510df8d8e
chore(release): mark v10.2.0 ( #7467 )
2021-08-04 14:45:31 +02:00
Jan Scheffler
18ed92bd08
chore: update documentation ( #7446 )
...
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 ( #7338 )
...
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 ( #7419 )
...
Having it be a getter is surprising and inconsistent, since the other `page.is*` APIs are just methods.
Issue: #7150
2021-07-13 11:37:39 +02:00
Yusuke Iwaki
d70f60e061
feat: add channel parameter for puppeteer.launch ( #7389 )
...
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 ( #6735 )
...
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
( #7390 )
2021-07-01 13:23:38 +02:00
Rowan Merewood
7200b1a6fb
feat: add support for useragentdata ( #7378 )
...
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 ( #7386 )
2021-06-29 07:44:38 +00:00
Jan Scheffler
6b13a17ed9
chore(release): mark v10.1.0 ( #7331 )
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 ( #7343 )
2021-06-22 11:43:11 +00:00
Dan Park
a91b8aca37
feat: add drag-and-drop support ( #7150 )
...
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 ( #7304 )
2021-06-01 11:29:38 +02:00