jrandolf
96c3f943b2
feat(chromium): roll to Chromium 99.0.4844.16 (r961656) ( #7960 )
...
Co-authored-by: Randolf Jung <jrandolf@chromium.org>
2022-02-04 12:18:53 +01:00
nswbmw
6a655cb647
feat: add more models to DeviceDescriptors ( #7904 )
2022-02-02 18:40:54 +01:00
dependabot[bot]
3b19851b5f
chore(deps): bump debug from 4.3.2 to 4.3.3 ( #7948 )
...
Bumps [debug](https://github.com/debug-js/debug ) from 4.3.2 to 4.3.3.
- [Release notes](https://github.com/debug-js/debug/releases )
- [Commits](https://github.com/debug-js/debug/compare/4.3.2...4.3.3 )
---
updated-dependencies:
- dependency-name: debug
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
2022-02-01 09:18:38 +00:00
Mathias Bynens
2fefcc9185
chore: set up ossf/scorecard-action ( #7953 )
2022-02-01 08:55:58 +00:00
Alex Rudenko
aaac8d9c44
fix: migrate more files to strict-mode TypeScript ( #7950 )
2022-01-31 15:16:32 +00:00
dependabot[bot]
f708ceb9f9
chore(deps-dev): bump @commitlint/config-conventional ( #7945 )
...
Bumps [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional ) from 13.2.0 to 16.0.0.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases )
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-conventional/CHANGELOG.md )
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v16.0.0/@commitlint/config-conventional )
---
updated-dependencies:
- dependency-name: "@commitlint/config-conventional"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-31 14:52:36 +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
06ba9632a4
fix: issue with reading versions.js in doclint ( #7940 )
...
Partially reverts https://github.com/puppeteer/puppeteer/pull/7927
where the regression happened.
2022-01-28 12:01:12 +00:00
Alex Rudenko
43aa98620e
chore: update minimist to 1.2.5 ( #7938 )
2022-01-28 10:23:44 +00:00
Alex Rudenko
12470564ad
chore: update jpeg-js to 0.4.3 ( #7937 )
2022-01-28 10:03:36 +00:00
Alex Rudenko
0636513e34
fix: make more files work in strict-mode TypeScript ( #7936 )
2022-01-28 09:38:36 +00:00
Alex Rudenko
000c1f630d
chore: add TODO to use size parameter in getReadableFromProtocolStream ( #7930 )
2022-01-28 09:38:14 +01:00
Alex Rudenko
776ced620e
chore: apply deprecation command ( #7929 )
2022-01-27 07:18:23 +00:00
tjacobs3
afea509544
fix: page.pdf producing an invalid pdf ( #7868 )
...
When defining a chunk size for <CDPSession>.send('IO.read', { handle, size }), the CDPSession will occasionally indicate that it has reached the end of file without sending a full pdf. This is documented by the associated issue.
This behavior is not reproducible when leaving out the size parameter. Since the size parameter is not required on the CDPSession side and is merely a suggestion on the stream side, we can safely leave it out.
Issues: #7757
2022-01-26 12:30:03 +00:00
Alex Rudenko
acac3b3e32
chore: generate version range for deprecated versions ( #7927 )
2022-01-26 12:22:20 +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
Romain
e4c48d3b8c
fix(package.json): update node-fetch package ( #7924 )
...
Update node-fetch to version 2.6.7 to avoid a high vulnerability
https://github.com/advisories/GHSA-r683-j2x4-v87g
2022-01-24 14:19:38 +01:00
Alex Rudenko
d80d6027ea
fix: types in Connection.ts to be compatible with strict mode Typescript ( #7919 )
...
Issues: #6769
2022-01-21 12:41:21 +01:00
Alex Rudenko
a8ec0aadc9
fix: types in Browser.ts to be compatible with strict mode Typescript ( #7918 )
...
Issues: #6769
2022-01-20 14:15:23 +01: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
344feb53c2
fix: use content box for OOPIF offset calculations ( #7911 )
...
If an iframe has a border, it has to be added to the offsets
too. We can work around it by using the content box coordinates
for the offsets. That should also prevent discrepancies if the
iframe has a padding set.
2022-01-18 09:22:15 +01: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
a55c86fac5
feat(chromium): roll to Chromium 98.0.4758.0 (r950341) ( #7907 )
2022-01-17 13:40:38 +00:00
Alex Rudenko
a566263ba2
fix: apply OOPIF offsets to bounding box and box model calls ( #7906 )
...
The doc for boundingBox says that it should return the boundingBox
relative to the main frame, therefore, this fix would make the
actual implementation correspond to the documentation. boxModel
documentation does not have this note but I think it'd make sense
to have it match the behaviour of the boundingBox API.
2022-01-17 14:19:43 +01:00
Alex Rudenko
d7937b806d
fix: error for pre-existing OOPIFs ( #7899 )
...
Issues: #7844 , #7896
2022-01-17 07:00:00 +00:00
Alex Rudenko
486bbe010d
fix: correctly compute clickable points for elements inside OOPIFs ( #7900 )
...
Issues: #7849
2022-01-17 07:32:52 +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
Alex Rudenko
8d8e874b07
fix: make sure ElementHandle.waitForSelector is evaluated in the right context ( #7843 )
...
So it appears that all bindings are added to the secondary world and all
evaluations are also running there. ElementHandle.evaluate is returning
handles from the main world though. Therefore, we need to be careful
and adopt handles to the right context before doing waitForSelector
So it appears that all bindings are added to the secondary world and all
evaluations are also running there. ElementHandle.evaluate is returning
handles from the main world though. Therefore, we need to be careful
and adopt handles to the right context before doing waitForSelector.
2021-12-21 09:53:20 +01:00
Alex Rudenko
1c44551f1b
fix: predicate arguments for waitForFunction ( #7845 )
...
The same predicate function is used by the waitForFunction
API that does not need the context element.
Issues: #7836
2021-12-15 08:40:56 +00:00
Alex Rudenko
36207c5efe
fix: disable a test failing on Firefox ( #7846 )
2021-12-15 09:17:56 +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
Johan Bay
02c9af62d6
fix(types): revert "feat(typescript): allow using puppeteer without dom lib"
...
Reverts #6998
We unfortunately have to revert this commit for two reasons:
The approach for generating types.d.ts implemented in the commit invalidates triple-slash compiler directives since it prepends a declaration before the types.d.ts generated by api-extractor.
In particular, the directive /// <reference types="node" /> in the final types.d.ts is ignored by the typescript compiler making module resolution fail.
The commit makes Puppeteer types ship without DOM types per default. This is not ideal since Puppeteer (and usage of Puppeteer) relies heavily on interacting with DOM elements.
2021-12-10 09:02:28 +01: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
Ben Allfree
71cc1b9591
refactor: remove unused promise ( #7830 )
2021-12-09 15:35:23 +01: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
Alex Rudenko
a604646f44
refactor: disallow direct access to attributes in NetworkEventManager ( #7826 )
2021-12-09 10:02:24 +00:00
Ben Allfree
bbfad6802c
refactor: extract NetworkEventManager from NetworkManager
2021-12-07 15:08:45 +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
Ben Allfree
636b0863a1
fix: handle multiple/duplicate Fetch.requestPaused events ( #7802 )
...
Issues: #7475 , #6696 , #7225
2021-12-03 20:13:44 +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
6ee2feb1ea
fix: handle extraInfo events even if event.hasExtraInfo === false ( #7808 )
...
Issues: #7805
2021-11-29 20:46:02 +01:00
Alex Rudenko
921c3bcfcf
chore: bump version to v12.0.0-post ( #7804 )
2021-11-29 14:24:04 +01:00