dependabot[bot]
e237ba0f2e
chore(deps): bump actions/setup-node from 3.3.0 to 3.4.1 ( #8671 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 3.3.0 to 3.4.1.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v3.3.0...v3.4.1 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-02 13:18:48 +00:00
Alex Rudenko
f52b37a3aa
docs: fix a typo in waitForSelector ( #8701 )
2022-08-02 13:18:48 +00:00
dependabot[bot]
4ac252a25d
chore(deps): bump ws from 8.8.0 to 8.8.1 ( #8672 )
...
Bumps [ws](https://github.com/websockets/ws ) from 8.8.0 to 8.8.1.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/8.8.0...8.8.1 )
---
updated-dependencies:
- dependency-name: ws
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>
2022-08-02 13:18:48 +00:00
Alex Rudenko
9bd7d38579
chore: fix command name in tot-ci.yml ( #8698 )
2022-08-02 13:18:47 +00:00
Alex Rudenko
936ed8607e
feat: add Dockerfile ( #8315 )
...
This PR adds an official Dockerfile for Puppeteer. The content of the Dockerfile is practically the same as documented in troubleshooting.md:
1) It installs chrome-stable and dependencies via apt-get.
2) it installs a local Puppeteer build into the docker user's home folder.
3) configures required permissions for the user.
4) outputs licenses into the THIRD_PARTY_NOTICES file.
The local Puppeteer build is created by `docker/pack.sh` which is meant to be used in CI. This PR also includes a GitHub action that would build a docker image and run a smote test inside of it.
The next step would be actually publishing the docker image from GitHub Actions to GitHub Registry.
2022-08-02 13:18:47 +00:00
Alex Rudenko
6f81b23728
fix: address flakiness in frame handling ( #8688 )
...
When we attach to a frame, we send a call to get
the page frame tree from CDP. Based on the tree data
we look up the parent frame if parentId is provided.
The problem is that the call to get the page frame
tree could take arbitrary time and the calls for the
parent and child frames might happen at the same time.
So the situation where the frame tree for the child frame
is resolved before the parent frame is known is fairly
common.
This PR addresses the issue by awaiting for the parent
frame id before attempting to register a child frame.
2022-08-02 13:18:47 +00:00
Alex Rudenko
2cbfdeb0ca
feat: use CDP's auto-attach mechanism ( #8520 )
...
* feat: use CDP's auto-attach mechanism
In this PR, we refactor Puppeteer to make use of the CDP's auto-attach mechanism. This allows the backend to pause
new targets and give Puppeteer a chance to configure them properly. This fixes the flakiness related to dealing with
OOPIFs and should fix some other issues related to the network interception and navigations. If those are not fixed completely by this PR, the PR serves a solid base for fixing them.
Closes https://github.com/puppeteer/puppeteer/issues/8507 , https://github.com/puppeteer/puppeteer/issues/7990
Unlocks https://github.com/puppeteer/puppeteer/issues/3667
BREAKING CHANGE: With Chromium, Puppeteer will now attach to page/iframe targets immediately to allow reliable configuration of targets.
2022-08-02 13:18:07 +00:00
release-please[bot]
a654607c74
chore(main): release 15.5.0 ( #8683 )
...
* chore(main): release 15.5.0
* chore: generate versioned docs
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2022-07-21 14:25:48 +00:00
Alex Rudenko
f1b8ad3269
feat(chromium): roll to Chromium 105.0.5173.0 (r1022525) ( #8682 )
2022-07-21 13:16:47 +00:00
release-please[bot]
a43965a4b6
chore(main): release 15.4.2 ( #8681 )
...
* chore(main): release 15.4.2
* chore: generate versioned docs
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2022-07-21 12:22:40 +00:00
Alex Rudenko
2abb9f0c14
fix: taking a screenshot with null viewport should be possible ( #8680 )
...
Closes #8673
2022-07-21 10:34:18 +02:00
Alex Rudenko
3d780a3f08
chore: fix ToT test jobs ( #8679 )
2022-07-21 10:12:23 +02:00
release-please[bot]
d734c14813
chore(main): release 15.4.1 ( #8678 )
...
* chore(main): release 15.4.1
* chore: generate versioned docs
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2022-07-21 09:35:51 +02:00
jrandolf
34ab5ca503
fix: import URL ( #8670 )
2022-07-21 08:20:51 +02:00
Alex Rudenko
c801ce1c7b
chore: try to fix the docusaurus build by giving Node more old mem space ( #8675 )
2022-07-20 11:18:02 +02:00
chakzefir
0180a882e2
docs: add gitlab-ci section to troubleshooting ( #8664 )
...
Adding explanatory section with detailed manual on how to launch puppeteer on GitlabCI
2022-07-20 10:15:14 +02:00
release-please[bot]
f0c28085c0
chore(main): release 15.4.0 ( #8668 )
...
* chore(main): release 15.4.0
* chore: generate versioned docs
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2022-07-13 15:52:23 +02:00
jrandolf
edcdf217ce
fix: ignore *.tsbuildinfo ( #8662 )
2022-07-13 15:16:39 +02:00
Alex Rudenko
af08c5c903
feat: expose the page getter on Frame ( #8657 )
...
* feat: expose the page getter on Frame
Closes #8654
* test: add a test
2022-07-11 21:06:35 +02:00
release-please[bot]
dd27559090
chore(main): release 15.3.2 ( #8647 )
...
* chore(main): release 15.3.2
* chore: generate versioned docs
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2022-07-08 09:58:30 +02:00
Asen Bozhilov
b47f066c2c
fix(page): fix page.#scrollIntoViewIfNeeded method ( #8631 )
...
This patch fixes page.#scrollIntoViewIfNeeded, so that it works with devtools protocol.
Now it blocks the main thread and waits until the scrolling action finishes in Chrome.
Fallbacks to the old implementation if `DOM.scrollIntoViewIfNeeded` is not supported for Firefox.
Issues: #8627 , #1805
2022-07-08 06:53:45 +00:00
Alex Rudenko
1de0383abf
fix: cache dynamic imports ( #8652 )
2022-07-07 21:09:07 +02:00
Alex Rudenko
d0c4291995
fix: expose a RemoteObject getter ( #8642 )
...
Closes #8639
2022-07-07 13:04:28 +00:00
jrandolf
f82c03682a
chore: link new puppeteer versions ( #8637 )
2022-07-06 17:49:47 +02:00
release-please[bot]
ec8c750383
chore(main): release 15.3.1 ( #8635 )
...
* chore(main): release 15.3.1
* chore: generate versioned docs
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2022-07-06 09:24:46 +02:00
jrandolf
4cd97e93f9
chore: format on pre-release ( #8634 )
2022-07-06 09:15:12 +02:00
jrandolf
5ff205dc8b
fix: extends ElementHandle
to Node
s ( #8552 )
...
* fix: extends `ElementHandle` to `Node`s (#8552 )
2022-07-06 09:05:37 +02:00
jrandolf
b49d530d73
chore: continue-on-error
for non-Linux tests ( #8632 )
2022-07-06 08:23:39 +02:00
jrandolf
b5a345b06b
chore: format docs ( #8629 )
2022-07-05 15:41:43 +02:00
jrandolf
9e596d0761
chore: format code ( #8628 )
...
* chore: format code
2022-07-05 15:06:10 +02:00
jrandolf
28e236f1a6
chore: use --parallel ( #8612 )
2022-07-05 14:42:55 +02:00
jrandolf
45eb2c607f
chore: remove docusaurus metadata from README.md ( #8624 )
2022-07-05 14:42:31 +02:00
jrandolf
fc77c1517f
chore: fetch 2 levels of commits on doc check ( #8625 )
2022-07-05 11:04:46 +02:00
jrandolf
3735ef13f1
chore: backmerge docs ( #8620 )
2022-07-01 19:10:23 +02:00
jrandolf
6b2b421b7d
chore: use github.ref
( #8618 )
2022-07-01 19:09:43 +02:00
jrandolf
59c8027041
chore: add CNAME ( #8619 )
2022-07-01 19:08:27 +02:00
release-please[bot]
01c76b7eb1
chore(main): release 15.3.0 ( #8606 )
...
* chore(main): release 15.3.0
* chore: generate versioned docs
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2022-07-01 17:02:54 +02:00
jrandolf
c1d57f3e5f
chore: fix bad revision ( #8617 )
2022-07-01 16:55:12 +02:00
jrandolf
32c9f3e6fb
chore: update contributing.md ( #8616 )
2022-07-01 16:29:21 +02:00
jrandolf
9fa96600f2
chore: update CI ( #8614 )
2022-07-01 16:00:27 +02:00
jrandolf
0cf4832878
fix: remove unused imports ( #8613 )
2022-07-01 16:00:03 +02:00
jrandolf
8cf10fb7b9
chore: Improve CI ( #8601 )
2022-07-01 15:03:12 +02:00
jrandolf
066f440ba7
feat: add documentation ( #8593 )
2022-07-01 11:52:39 +00:00
release-please[bot]
51ae338acd
chore(main): release 15.2.0 ( #8585 )
...
* chore(main): release 15.2.0
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2022-06-29 14:25:40 +02:00
Randolf J
d8e453b98c
chore: skip PR and push to main in post-publish
2022-06-29 14:11:59 +02:00
dependabot[bot]
7a22f95fe7
chore(deps): bump ossf/scorecard-action from 1.1.1 to 1.1.2 ( #8592 )
...
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action ) from 1.1.1 to 1.1.2.
- [Release notes](https://github.com/ossf/scorecard-action/releases )
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md )
- [Commits](3e15ea8318...ce330fde6b
)
---
updated-dependencies:
- dependency-name: ossf/scorecard-action
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>
2022-06-28 14:56:29 +02:00
Alex Rudenko
468ea8fca1
chore: expose Connection methods relevant for extension ( #8594 )
2022-06-28 14:48:29 +02:00
Levi Pesin
79e11985ba
feat: add fromSurface option to page.screenshot ( #8496 )
2022-06-27 12:37:37 +00:00
Alex Rudenko
329195011f
chore: fix chrome-headless ci ( #8560 )
2022-06-27 12:35:09 +02:00
jrandolf
e499515fd6
chore: add type tests ( #8588 )
2022-06-27 10:57:31 +02:00