Mathias Bynens and GitHub
a28d016408
docs: improve security policy guidance ( #15006 )
2026-05-19 14:27:31 +02:00
Mathias Bynens and GitHub
4b5d0b046a
chore: restore token for npm deprecate ( #14327 )
...
OIDC support is limited to `npm publish` for now, so we still need to use a token to `npm deprecate`.
https://docs.npmjs.com/trusted-publishers#limitations-and-future-improvements
2025-10-15 08:50:38 +00:00
Mathias Bynens and GitHub
4c358a299d
chore: fix typo ( #14326 )
2025-10-15 10:39:00 +02:00
Mathias Bynens and GitHub
649d457c72
chore: migrate to Trusted Publishing with provenance attestation ( #14324 )
2025-10-15 09:15:16 +02:00
Mathias Bynens and GitHub
c8cd34b39e
chore: add script to update versions.ts ( #10742 )
2023-08-16 15:38:05 +02:00
Mathias Bynens and GitHub
3a26fa0d8e
feat: support chrome-headless-shell ( #10739 )
2023-08-16 11:34:54 +00:00
Mathias Bynens and GitHub
ac2a636fdf
chore: update CfT Dashboard URLs ( #10122 )
2023-05-03 21:24:03 +02:00
Mathias Bynens and GitHub
88d239a592
chore: report sizes in MB rather than MiB ( #9734 )
2023-02-22 14:36:39 +00:00
Mathias Bynens and GitHub
958bbd723f
chore: set up ossf/scorecard-action ( #7953 )
2022-02-01 08:55:58 +00:00
Mathias Bynens and GitHub
22d7c8ee73
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
Mathias Bynens
d1df7d15f3
chore: add GitHub issue template ( #7543 )
...
https://github.blog/changelog/2021-06-23-issues-forms-beta-for-public-repositories/
2021-09-03 09:14:25 +02:00
Mathias Bynens and GitHub
f85477700a
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
Mathias Bynens and GitHub
7722b55a4d
chore: drop support for Node.js 10 ( #7200 )
...
This is a prerequisite for shipping Puppeteer as JavaScript modules.
Issue: #6753
BREAKING CHANGE: Node.js 10 is no longer supported.
2021-05-17 11:34:58 +02:00
Mathias Bynens and GitHub
1f29d67647
chore: disable markdownlint for api.md ( #7228 )
...
api.md is autogenerated anyhow, and this avoids the recent CI failures.
Issue: #7227
2021-05-12 14:47:27 +02:00
Mathias Bynens
d1e4e27f2f
chore: fix lint issues
2021-04-19 13:17:20 +02:00
Mathias Bynens and GitHub
d83ac99cd9
fix: move CI npm config out of .npmrc ( #6901 )
...
This avoids issues with local `npm commands` trying to use the Wombat registry.
2021-02-17 18:52:22 +01:00
Mathias Bynens and GitHub
def2d0f009
fix: add favicon test asset ( #6868 )
...
The favicon was taken from https://github.com/mathiasbynens/small .
Issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1682076
2021-02-11 11:54:45 +00:00
Mathias Bynens and GitHub
5320c1716f
chore: let actions/checkout determine the branch by itself ( #6821 )
...
Hopefully this ensures pull requests coming from forks still get CI checks.
Issue: #6818
2021-02-05 09:04:46 +01:00
Mathias Bynens and GitHub
9205ea0618
docs(contributing): update example PR link ( #6813 )
2021-02-04 13:54:36 +00:00
Mathias Bynens and GitHub
7f3ffdf435
chore: fix version number ( #6803 )
2021-02-02 12:32:13 +00:00
Mathias Bynens and GitHub
615412a4d4
chore: drop Travis CI config ( #6799 )
...
Now that we’ve migrated to GitHub Actions and everything seems to work correctly, we can remove Travis CI without losing confidence.
Issue: #6726
2021-02-02 11:03:31 +01:00
Mathias Bynens
ae64dfbdc2
chore: drop README badge
2021-02-02 08:42:37 +01:00
Mathias Bynens and GitHub
69824f6d6d
chore(ci): use GitHub Actions to run unit tests on Windows and macOS ( #6782 )
...
Similar to our earlier Travis CI setup, we continue to run exhaustive checks on Linux, while also verifying the build + unit tests still work on other platforms.
Issue: #6726
2021-01-27 14:57:41 +01:00
Mathias Bynens and GitHub
1615a52137
chore: add GitHub Action workflow for main CI checks ( #6739 )
2021-01-12 11:48:33 +01:00
Mathias Bynens and GitHub
134d0f4bce
chore: automate release commits ( #6628 )
...
Issue: #6482
2020-11-30 10:29:38 +01:00
Mathias Bynens and GitHub
e947609105
chore: automate version bumps ( #6627 )
...
Issue: #6482
2020-11-26 11:38:24 +01:00
Mathias Bynens and GitHub
da3f493cb6
chore: bump version to v5.5.0-post ( #6605 )
2020-11-17 11:46:21 +01:00
Mathias Bynens and GitHub
0342340ce6
chore(release): mark v5.5.0 ( #6604 )
2020-11-16 14:38:50 +01:00
Mathias Bynens and GitHub
9e4e7b3a35
chore: clarify node_js versions in Travis config ( #6570 )
...
This patch makes it so that we only refer to specific Node.js versions like `10.19.0` when we really mean to use exactly that version. Usually we just want to test the latest version in a major range, e.g. `10`.
It also adds an inline comment that makes it easier to update the versions across the file in the future (e.g. when Node.js 10 goes EOL in April 2021).
Issue: #6561
2020-11-04 12:45:52 +01:00
Mathias Bynens and GitHub
641653470f
docs(contributing): remove npm dist tags requirement ( #6571 )
...
The npm dist tags are not worth the hassle, and are arguably harmful to the Web. Developers should feel encouraged to always test the latest available Puppeteer & Chromium versions, as opposed to any specific version.
Issue: #6482
2020-11-04 07:42:45 +01:00
Mathias Bynens and GitHub
ef68a8b003
chore: automate Chromium => Puppeteer version listing ( #6558 )
...
Issue: #6482
2020-10-29 22:24:35 +01:00
Mathias Bynens and GitHub
4c43c0c535
docs(api): expand registerCustomQueryHandler example ( #6557 )
...
This patch makes it easier to see exactly how to use the registerCustomQueryHandler API without having to follow the trail of breadcrumbs throughout the docs.
2020-10-29 15:22:03 +01:00
Mathias Bynens and GitHub
c5c208a666
chore: automate versioning + changelog ( #6556 )
...
As long as we follow Conventional Commits for our commit messages (which is now enforced since #6483 ), we can automate the maintenance of this new changelog, which enables us to later automate the release process altogether.
This patch also eliminates the versioning decision-making process by automating it based on our commit messages.
Issue: #6482
2020-10-29 10:53:51 +01:00
Mathias Bynens and GitHub
af51a71684
chore: automate publishing on new Git tags ( #6536 )
...
Issues: #6482
2020-10-23 14:40:14 +02:00
Mathias Bynens and GitHub
944f55410e
chore: enforce Conventional Commits through commitlint ( #6483 )
...
This patch sets up commitlint to enforce the Conventional Commits format. This check runs with the other lint checks as part of npm run lint, and a Git commit hook is set up via Husky for automated local checks.
Issue: #6482
2020-10-08 12:04:15 +02:00
Mathias Bynens and GitHub
efb910d561
chore: remove mime dependency ( #6415 )
...
Bug: #5026 , #6125
2020-09-14 13:39:33 +02:00
e006cb8a80
doc(contributing): add info on bisecting upstream changes ( #6402 )
...
Co-authored-by: Johan Bay <[email protected] >
2020-09-08 15:19:37 +02:00
Mathias Bynens and GitHub
07d7b7bb91
chore: extend Firefox launch test deadline by a month ( #6403 )
...
Ref. #5673 .
2020-09-08 15:08:23 +02:00
Mathias Bynens
f4d8f8f9e9
docs: fix link text
...
Closes #6245 .
2020-07-20 07:25:09 +02:00
Mathias Bynens and GitHub
de4d4896a8
docs(api): fix overview diagram for pptr.dev ( #6128 )
...
We need to serve the image from user-images.githubusercontent.com for it to work properly on pptr.dev. This broke when merging #5947 .
Fixes #6127 .
2020-06-30 15:56:26 +01:00
Mathias Bynens and GitHub
cfc021d25e
docs(new): migrate JSHandle docs to TSDoc ( #6102 )
2020-06-25 15:49:35 +01:00
Mathias Bynens and GitHub
f36ff6e425
docs(new): migrate SecurityDetails docs to TSDoc ( #6053 )
2020-06-19 15:30:28 +02:00
Mathias Bynens and GitHub
6e77811246
chore: bump version to v4.0.0-post ( #6024 )
2020-06-16 08:52:56 +02:00
Mathias Bynens and GitHub
e9fbbb0400
chore: update references to branch names ( #6022 )
2020-06-15 17:34:16 +02:00
Mathias Bynens
25882f4b2a
docs(api): remove subheader for non-namespace
...
This way, pptr.dev doesn’t incorrectly think the header is a namespace.
Ref. #6000 .
2020-06-12 17:13:20 +02:00
Mathias Bynens
9d13cb6144
chore: rename image assets
2020-06-02 15:24:25 +02:00
Mathias Bynens and GitHub
bc0c87fbcd
feat(api): add page.emulateVisionDeficiency(type) ( #5901 )
...
Design doc: https://goo.gle/devtools-cvd
2020-05-26 17:14:20 +02:00
Mathias Bynens and GitHub
17893a91c6
docs(contributing): clarify list of Chromium versions ( #5878 )
2020-05-18 09:26:19 +02:00
Mathias Bynens and GitHub
51d30feede
chore: restore page.setUserAgent test ( #5868 )
...
Ref. #5781 .
2020-05-14 10:24:30 +01:00
Mathias Bynens and GitHub
e8d137cc85
chore: remove unused mime-types dependency ( #5819 )
2020-05-07 11:28:46 +02:00
Mathias Bynens and GitHub
63dde701d4
chore: improve readability for path strings ( #5805 )
...
This addresses the feedback from https://github.com/puppeteer/puppeteer/pull/5762#discussion_r416554314 .
2020-05-05 14:18:41 +02:00
Mathias Bynens and GitHub
8ef2950c33
chore: fix doclint issues ( #5784 )
2020-04-30 12:58:51 +02:00
Mathias Bynens and GitHub
2832a01b83
chore: disable flaky setUserAgent test in Firefox ( #5780 )
2020-04-30 12:10:28 +02:00
Mathias Bynens and GitHub
1a47ec35f7
docs(troubleshooting): list libgbm-dev dependency ( #5667 )
...
Fixes #5661 .
2020-04-17 10:14:18 +02:00
Mathias Bynens and GitHub
54899959a7
docs(contributing): update npm dist tags section ( #5650 )
...
The chrome-stable tags haven't been updated in a long time. This patch updates the documentation to reflect this reality.
2020-04-16 12:08:59 +02:00
Mathias Bynens and GitHub
f82f298334
chore: bump version to v3.0.0-post ( #5649 )
2020-04-16 11:23:26 +02:00
Mathias Bynens and GitHub
a152a6edb5
docs(readme): update cross-browser FAQ ( #5634 )
2020-04-15 16:46:01 +02:00
Mathias Bynens and GitHub
adafa374a3
docs(README): remove unused badges
2020-04-08 10:16:45 +02:00
Mathias Bynens and GitHub
11eaa90773
chore: bump version to v2.1.0-post ( #5349 )
2020-01-27 16:00:07 +01:00
Mathias Bynens
c5284b47f7
chore: mark version v2.1.0 ( #5347 )
...
This changes the Chromium revision to r722234 (Chrome 80.0.3987.0),
since that's the most recent version in the Chromium 80 range for
which a download exists for all supported platforms.
2020-01-27 15:48:40 +01:00
Mathias Bynens and GitHub
783b2a4496
feat(chromium): roll Chromium to r722269 ( #5289 )
...
This corresponds to Chromium 80.0.3987.0.
This roll includes:
- Implement support for the new ARIA `generic` role
https://chromium-review.googlesource.com/c/chromium/src/+/1872305
- Expose button's children to accessibility tree
https://chromium-review.googlesource.com/c/chromium/src/+/1845810
- Remove `Page.handleFileChooser` from CDP
https://chromium-review.googlesource.com/c/chromium/src/+/1935410
2020-01-27 14:44:53 +01:00
Mathias Bynens and GitHub
d16b48c98b
chore: mark puppeteer-firefox version v0.5.1 ( #5294 )
2020-01-09 16:07:21 +01:00
Mathias Bynens and GitHub
10fb566558
chore: move to GitHub hosting for Juggler binaries ( #5293 )
2020-01-09 15:24:57 +01:00
Mathias Bynens and GitHub
9e1ea50b2d
fix: prepare jsHandle.uploadFile for CDP Page.handleFileChooser removal ( #5196 )
...
* fix: prepare jsHandle.uploadFile for CDP Page.handleFileChooser removal
https://chromium-review.googlesource.com/c/chromium/src/+/1935410
removes Page.handleFileChooser from the CDP.
* fix: improve binary file support
UTF-8-decoding the input file could fail for binary files, and so we
now read the raw file buffer and base64-encode it. To base64-decode it
within the page context, we use the Fetch API in combination with a
data URL. This requires knowing the proper MIME type for the input
file, which we now figure out using the new mime-types dependency.
2019-12-03 09:18:18 +01:00
Mathias Bynens and GitHub
b568c11773
fix: don’t disable BlinkGenPropertyTrees anymore ( #5159 )
...
Ref. #5080 .
2019-11-27 12:58:09 +01:00
Mathias Bynens and GitHub
f71101393e
chore: update URLs ( #5185 )
2019-11-26 13:12:25 +01:00
Mathias Bynens
039a616d35
docs(contributing): clarify release process
2019-10-24 17:51:51 +02:00
Mathias Bynens
9cb4457e2d
chore: update .npmignore
2019-10-24 17:46:43 +02:00
Mathias Bynens
d922d7e1d1
chore: bump version to v2.0.0-post
2019-10-24 17:38:39 +02:00
Mathias Bynens and GitHub
b0fab0e7a9
chore: mark version v2.0.0 ( #5078 )
2019-10-24 14:46:50 +02:00
Mathias Bynens and GitHub
61c7794f37
test: add page.screenshot viewport clipping test ( #5079 )
2019-10-24 14:05:13 +02:00
Mathias Bynens and GitHub
5bd186ce22
feat(api): add page.emulateTimezone(timezoneId) ( #4949 )
...
This enables dynamically changing the timezone of the page.
2019-10-23 15:49:39 +02:00
Mathias Bynens and GitHub
fb4dcc7eea
feat(api): add page.emulateMedia{Type,Features} ( #5012 )
2019-10-23 13:55:00 +02:00
Mathias Bynens and GitHub
5ce70d0911
chore: use map instead of plain object ( #5068 )
2019-10-23 13:12:33 +02:00
Mathias Bynens
2d9ed9e56c
feat(chromium): roll Chromium to r705776 ( #5058 )
...
This corresponds to Chromium 79.0.3942.0.
This roll includes:
- Support CSS media feature emulation in CDP
https://chromium-review.googlesource.com/c/chromium/src/+/1821608
- Implement timezone ID verification
https://chromium-review.googlesource.com/c/chromium/src/+/1822557
- Allow aria-hidden objects into the browser-side ax tree
https://chromium-review.googlesource.com/c/chromium/src/+/1760862
- Remove pre-BlinkGenPropertyTrees codepaths (affects screenshot clipping)
https://chromium-review.googlesource.com/c/chromium/src/+/1752244
- Terminate some asynchronous waiting commands on cross-process navigation
https://chromium-review.googlesource.com/c/chromium/src/+/1766001/21#message-a6a61261b97ffca6ecb180c0a2303b538f7a6476
Per upstream Chromium changes, `page.screenshot` now clips elements to the viewport. This matches the clipping behavior of elements in inner scrollers (i.e., document and overflow scroll clipping now work the same).
2019-10-23 11:41:44 +02:00
Mathias Bynens and GitHub
b79b984d54
chore: drop Node.js v6 support ( #5045 )
...
Node.js v6 was end-of-life'd in April, 2019, with AWS Lambda prohibiting updaets to the Node.js v6 runtime since June 30, 2019.
This makes it quite safe for us to remove the Node 6 support from the repository.
2019-10-16 17:00:20 +02:00
Mathias Bynens and GitHub
9762ae9e45
docs(contributing): mention manual docs/api updates ( #5023 )
...
Ref. #5016 .
2019-10-15 11:11:34 +02:00
Mathias Bynens and GitHub
27e24de1e4
docs(readme): correct Slack link
...
Fixes #4969 .
2019-10-10 14:23:21 +01:00
Mathias Bynens and Andrey Lushnikov
ed98645ea5
doc(contributing): clarify release instructions ( #4940 )
2019-09-13 19:59:14 -07:00
Mathias Bynens and Andrey Lushnikov
9fea0e06e8
chore: bump version to v1.20.0-post ( #4939 )
2019-09-13 19:58:13 -07:00
Mathias Bynens and Andrey Lushnikov
f14cb1961b
chore: mark version v1.20.0 ( #4928 )
2019-09-12 15:21:21 -07:00
Mathias Bynens and Andrey Lushnikov
b56b92fc62
test: mark Page.close test as failing in Firefox ( #4929 )
2019-09-12 14:29:40 -07:00
Mathias Bynens and Andrey Lushnikov
74699dc32e
docs(CONTRIBUTING.md): clarify release process ( #4923 )
...
After bumping the package.json version number, maintainers should run `npm run doc` to automatically update README.md and docs/api.md accordingly.
2019-09-10 13:15:45 -07:00
Mathias Bynens and Andrey Lushnikov
bef3518d1b
docs(CONTRIBUTING.md): fix some typos ( #4917 )
...
As someone who's new to the project, I read the contributing guide and spotted some things that confused me. Hopefully this patch helps to reduces the confusion for others!
2019-09-09 15:52:52 -07:00