Commit Graph

3257 Commits

Author SHA1 Message Date
Alex Rudenko
b4f5ea1167
fix: don't detect project root for puppeteer-core (#8907)
Closes #8896
2022-09-06 14:26:05 +02:00
Alex Rudenko
6e7c6368d3
docs: fix example formatting in evaluateOnNewDocument (#8906) 2022-09-06 10:39:55 +00:00
Guillaume Gomez
32400954c5
fix: add Page.getDefaultTimeout getter (#8903)
Closes #8901
2022-09-05 17:43:39 +00:00
release-please[bot]
8e1c8b9be6
chore(main): release 17.1.1 (#8900)
* chore(main): release 17.1.1

* chore: generate versioned docs

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2022-09-05 12:49:30 +00:00
Alex Rudenko
2134d975df
chore: re-build docs after versioning in pre-release (#8899) 2022-09-05 10:03:10 +00:00
Alex Rudenko
7b42250c7b
fix: restore deferred promise debugging (#8895)
* fix: restore deferred promise debugging

* chore: strict types
2022-09-05 10:30:47 +02:00
release-please[bot]
f9e758e31d
chore(main): release 17.1.0 (#8894)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2022-09-02 11:28:00 +00:00
Alex Rudenko
e2d6be1c29
chore: remove unused injections (#8889) 2022-09-02 10:59:51 +00:00
Alex Rudenko
a870c258bf
chore: update expectations for Firefox when evaluate fails (#8890) 2022-09-02 09:41:34 +00:00
jrandolf
2d50ec5b38
chore: add DeferredPromise to injection (#8883) 2022-09-01 18:44:59 +02:00
jrandolf
6b4a99fcfa
chore: migrate addStyleTag (#8879)
* chore: remove unnecessary type signature

* chore: fix tests

* chore: migrate `addStyleTag`

* chore: fix tests

* chore: fix tests
2022-09-01 17:52:08 +02:00
jrandolf
8f11237a67
chore: migrate addScriptTag (#8878) 2022-09-01 17:09:57 +02:00
Alex Rudenko
f57dde1c5b
chore: fix builds in CI (#8877) 2022-09-01 12:43:26 +00:00
Alex Rudenko
4d2ec85cad
chore: fix ToT CI (#8876) 2022-09-01 12:02:53 +00:00
dependabot[bot]
3eb4c2d2e0
chore(deps): bump github/codeql-action from 2.1.18 to 2.1.21 (#8849)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.18 to 2.1.21.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](2ca79b6fa8...c7f292ea4f)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-01 12:42:56 +02:00
jrandolf
ae4c5ea031
chore: refactor build commands (#8874) 2022-09-01 01:05:20 +02:00
Alex Rudenko
3732757450
fix: allow getting a frame from an elementhandle (#8875)
Libraries like pptr-testing-library and expect-puppeteer seem to
rely on it.
2022-08-31 19:57:02 +00:00
jrandolf
3499e1292e
chore: generate version on pre-publish (#8872) 2022-08-31 17:21:25 +02:00
jrandolf
37906f4708
chore: correct output (#8871) 2022-08-31 16:20:05 +02:00
Alex Rudenko
61624d2695
chore: fix a flaky test in request interception (#8870) 2022-08-31 16:10:49 +02:00
Alex Rudenko
6e9a47a6fa
feat(chromium): roll to Chromium 106.0.5249.0 (r1036745) (#8869) 2022-08-31 15:27:59 +02:00
jrandolf
eb6cea4f57
chore: use jobs for artifact generation (#8864) 2022-08-31 14:42:53 +02:00
jrandolf
292216652b
chore: add injection framework (#8862)
* chore: add injection framework
2022-08-31 10:50:22 +02:00
jrandolf
9f5cb670e8
chore: consolidate deferred promise (#8863)
* fix: forward timeout waitForFileChooser

* chore: consolidate deferred promise

Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
2022-08-30 16:24:51 +02:00
Alex Rudenko
f477b46f21
fix: use the timeout setting in waitForFileChooser (#8856)
Co-authored-by: Randolf J <jrandolf@google.com>
2022-08-30 13:23:14 +00:00
Alex Maitland
8d95a9bc92
fix: typos in documentation (#8858)
- corder should be corner
2022-08-30 13:45:59 +02:00
release-please[bot]
e2d9858b38
chore(main): release 17.0.0 (#8828)
* chore(main): release 17.0.0

* chore: generate versioned docs

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2022-08-29 11:11:05 +02:00
jrandolf
1155c8eac8
fix!: remove root from WaitForSelectorOptions (#8848) 2022-08-26 12:55:30 +02:00
jrandolf
498fbf924c
chore: remove obsolete queryAllArray (#8847) 2022-08-25 21:29:56 +02:00
jrandolf
b49e742e30
chore: make execution context frame-independent (#8845) 2022-08-25 17:38:02 +02:00
jrandolf
2f33237d04
fix!: internalize execution context (#8844) 2022-08-25 17:02:44 +02:00
jrandolf
d070a73c46
chore: infer ElementHandle constructor params (#8843) 2022-08-25 17:01:30 +02:00
jrandolf
744a6e028a
chore: infer client from context in JSHandle (#8842) 2022-08-25 17:00:35 +02:00
jrandolf
5fba0dc932
chore: remove unnecessary constructor parameters (#8837) 2022-08-24 17:04:54 +02:00
Alex Rudenko
202ffce0aa
fix: remove deferred promise timeouts (#8835)
Issue #8832 makes a good point that we should not be making
implicit assumptions about the client's performance
when waiting for internal events. At the same time,
we want to be able to get the debug info if some promises
never resolve because of missing backend events.

This PR adds a variable to turn on timeouts for deferred
promises created using `createDebuggableDeferredPromise`.
We can use it in our tests to catch never-resolving
promises or when reproducing bug reports where Puppeteer
hangs indefinitely.

Closes #8832
2022-08-24 12:05:32 +02:00
Alex Rudenko
341b669a5e
fix: allow multiple navigations to happen in LifecycleWatcher (#8826)
There is no repro but it looks like sometimes the backend reports
two navigation requests. This PR changes the logic to allow that
instead of failing as it seems that failing is a bigger issue
than handling multiple navigation requests.

Closes #8811
2022-08-22 14:51:58 +00:00
jrandolf
b9b24cf963
chore: use deferred promises in web worker (#8824) 2022-08-22 14:03:45 +02:00
Henrik Skupin
e05c199a05
chore: revert IPv4 DNS resolution workaround for Firefox from PR 8447 (#8825) 2022-08-22 14:00:56 +02:00
release-please[bot]
21cc961df9
chore(main): release 16.2.0 (#8808)
* chore(main): release 16.2.0

* chore: generate versioned docs

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2022-08-19 10:15:47 +02:00
Seanghay Yath
34f8737218
feat: add Khmer (Cambodian) language support (#8809) 2022-08-18 08:57:00 +02:00
Alex Rudenko
2a0eefb99f
fix: handle service workers in extensions (#8807)
Closes #8800
2022-08-17 19:34:34 +02:00
jrandolf
51b2f0576d
chore: move Frame to Frame.ts (#8806) 2022-08-17 17:45:45 +02:00
jrandolf
b9c847960e
chore: remove pkg-dir (#8805) 2022-08-17 16:18:33 +02:00
jrandolf
b80beecadf
chore: use js extension (#8804) 2022-08-17 15:40:32 +02:00
jrandolf
02e1eea7eb
chore: use tsx (#8803) 2022-08-17 15:32:57 +02:00
jrandolf
03c1814e5b
chore: use jobs for document generation (#8802) 2022-08-17 15:14:46 +02:00
jrandolf
bdcb748b98
chore: infrastructure for injecting scripts into DOMWorlds (#8801) 2022-08-17 14:39:41 +02:00
release-please[bot]
a5f1078feb
chore(main): release 16.1.1 (#8769)
* chore(main): release 16.1.1

* chore: generate versioned docs

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2022-08-16 11:58:16 +00:00
Alex Rudenko
3fad05d333
fix: custom sessions should not emit targetcreated events (#8788)
Closes #8787
2022-08-16 10:56:13 +00:00
jrandolf
65a5ce8464
fix: deprecate root in WaitForSelectorOptions (#8795) 2022-08-16 10:09:07 +02:00