release-please[bot]
e8e18ae081
chore: release main ( #9684 )
...
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-02-15 12:43:41 -08:00
Nikolay Vitkov
0c85c0611c
chore: Implement JSHandle for BiDi ( #9660 )
2023-02-15 10:29:18 +00:00
jrandolf
56f99f7b10
refactor: migrate to iterator-based query handlers ( #9676 )
2023-02-14 13:31:30 -08:00
jrandolf
eb138635d6
fix: fix circularity on JSHandle interface ( #9661 )
2023-02-13 11:25:07 -08:00
Nikolay Vitkov
6ada628f39
chore(docs): Fix extensions guide ( #9657 )
2023-02-13 10:40:17 +00:00
release-please[bot]
8054bac046
chore: release main ( #9624 )
...
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-02-13 11:16:54 +01:00
Nikolay Vitkov
b8ea891ab8
chore: Extract JSHandle to API ( #9632 )
2023-02-09 18:04:06 +01:00
charlieinitialdigital
c8bb11adfc
feat: add touchstart, touchmove and touchend methods ( #9622 )
2023-02-03 10:59:21 +00:00
Nikolay Vitkov
25154c14d7
chore: Add launch.template.json for debugging tests ( #9599 )
2023-02-02 09:01:57 +01:00
Rafael-Martins
f12f27e1eb
docs: clarify the waitForXPath return type ( #9541 ) ( #9583 )
2023-02-01 15:23:32 +00:00
Matt Welke
40068a7d86
docs: fix typo in docs visible on main page ( #9607 )
2023-01-31 09:15:58 +00:00
Alex Rudenko
2457597410
docs: add codespaces button to contribution guide ( #9594 )
...
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
2023-01-31 08:12:26 +00:00
Nikolay Vitkov
aa1d1536b6
chore: Update build dependencies ( #9600 )
2023-01-30 13:30:49 +01:00
release-please[bot]
76c7f71ecc
chore: release main ( #9591 )
...
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-01-26 01:50:42 -08:00
Zeke Lu
0b717000ac
docs: prevent truncating of long messages with DEBUG_MAX_STRING_LENGTH=null ( #9587 )
...
<!-- Thanks for submitting a pull request! Please provide enough
information so that others can review your pull request. -->
**What kind of change does this PR introduce?**
It changes the docs.
**Did you add tests for your changes?**
No.
**If relevant, did you update the documentation?**
Yes.
**Summary**
When logging the DevTools protocol traffic, the default value of
`maxStringLength` is 10000. Messages longer than that will be truncated.
This change adds an example to show how to remove the limitation with
`DEBUG_MAX_STRING_LENGTH=null`.
See https://nodejs.org/api/util.html#util_util_inspect_object_options .
**Does this PR introduce a breaking change?**
No.
**Other information**
None.
2023-01-26 06:39:22 +00:00
Alex Rudenko
33cbf97032
docs: update cloud functions doc ( #9570 )
...
Closes #9397
2023-01-24 13:03:03 +00:00
release-please[bot]
e13e9647fc
chore: release main ( #9501 )
...
🤖 I have created a release *beep* *boop*
---
<details><summary>puppeteer: 19.6.0</summary>
##
[19.6.0](https://github.com/puppeteer/puppeteer/compare/puppeteer-v19.5.2...puppeteer-v19.6.0 )
(2023-01-23)
### Miscellaneous Chores
* **puppeteer:** Synchronize puppeteer versions
### Dependencies
* The following workspace dependencies were updated
* dependencies
* puppeteer-core bumped from 19.5.2 to 19.6.0
</details>
<details><summary>puppeteer-core: 19.6.0</summary>
##
[19.6.0](https://github.com/puppeteer/puppeteer/compare/puppeteer-core-v19.5.2...puppeteer-core-v19.6.0 )
(2023-01-23)
### Features
* **chromium:** roll to Chromium 110.0.5479.0 (r1083080)
([#9500 ](https://github.com/puppeteer/puppeteer/issues/9500 ))
([06e816b
](06e816bbfa
)),
closes [#9470 ](https://github.com/puppeteer/puppeteer/issues/9470 )
* **page:** Adding support for referrerPolicy in `page.goto`
([#9561 ](https://github.com/puppeteer/puppeteer/issues/9561 ))
([e3d69ec
](e3d69ec554
))
### Bug Fixes
* firefox revision resolution should not update chrome revision
([#9507 ](https://github.com/puppeteer/puppeteer/issues/9507 ))
([f59bbf4
](f59bbf4014
)),
closes [#9461 ](https://github.com/puppeteer/puppeteer/issues/9461 )
* improve screenshot method types
([#9529 ](https://github.com/puppeteer/puppeteer/issues/9529 ))
([6847f88
](6847f8835f
))
</details>
---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please ). See
[documentation](https://github.com/googleapis/release-please#release-please ).
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-01-23 17:48:02 +01:00
Ophir Back
e3d69ec554
feat(page): Adding support for referrerPolicy in page.goto
( #9561 )
...
Issue: #9394
**What kind of change does this PR introduce?**
Feature - Added support of the `referrerPolicy` parameter (from CDP's
`Page.navigate`) to Puppeteer's `page.goto`.
**Did you add tests for your changes?**
No, currently it has no meaning that isn't browser implementation based,
which might get broken in the future. If there are suggestions to tests,
please let me know so I'll add them.
**If relevant, did you update the documentation?**
Yes, the documentation of the `goto` method has been updated.
**Summary**
I wanted to contribute to this project, which I used for testing on our
environment and saw issue #9394 , so I decided to resolve it :)
**Does this PR introduce a breaking change?**
No. I added the `referrerPolicy` as an optional parameter, which will
use the HTTP header `Referrer-Policy` if not provided (much like the
`referer` parameter) so it will not interfere.
Co-authored-by: Ophir Back <ophir.back@broadcom.com>
2023-01-23 11:11:20 +00:00
Alex Rudenko
6847f8835f
fix: improve screenshot method types ( #9529 )
...
The only drawback of adding overrides is that our documentation
generator would generate a page for each overload which might be hard to
read/find on the documentation website.
Closes #9512 #9385
2023-01-18 14:06:20 +00:00
Jecelyn Yeen
afc7e3b770
docs: Update obsolete example ( #9120 )
...
Update the demo to work with latest website. The previous demo website
is deprecated.
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
2023-01-17 16:04:48 +01:00
Kian-Meng Ang
4437bceb6e
docs: fix typos ( #9476 )
...
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
2023-01-16 20:25:09 +01:00
jrandolf
9bf90d9f4b
fix: use puppeteer node for installation script ( #9489 )
...
Fixed: https://github.com/puppeteer/puppeteer/issues/9470
2023-01-11 16:15:53 +01:00
Alex Rudenko
29a50764d4
chore: add BiDi integration for Chromium ( #9410 )
...
This PR adds experimental support for WebDriver BiDi by making use of
chromium-bidi to implement the BiDi protocol. The tests are disabled on
Windows due to flakiness (filed
https://github.com/GoogleChromeLabs/chromium-bidi/issues/361 ).
2022-12-20 14:37:31 +00:00
Evan Carroll
d2536d7cf5
feat: Default to not downloading if explicit browser path is set ( #9440 )
...
Fixed : #9419
2022-12-20 14:50:02 +01:00
jrandolf
3f52212fc8
chore: update dependencies ( #9436 )
...
Fixed: https://github.com/puppeteer/puppeteer/issues/9372
2022-12-19 15:26:58 +01:00
jrandolf
c7a063a152
feat: add element validation ( #9352 )
...
This PR adds a method to ElementHandle that validates the tag type of
that handle and returns it.
Fixed : #8579 , #9280
2022-12-19 13:25:56 +01:00
release-please[bot]
848c849358
chore: release main ( #9395 )
2022-12-16 14:21:28 +01:00
y-yagi
a3045435a2
docs: mention how to disable timeout for page.pdf()
( #9167 )
...
**What kind of change does this PR introduce?**
Add how to disable timeout for `page.pdf()`.
**Summary**
This was mentioned in the PR that adding this feature
https://github.com/puppeteer/puppeteer/pull/7508 But it has lost at
https://github.com/puppeteer/puppeteer/pull/8593 .
I'm not sure why this was removed, but I think this info is useful for
users.
**Does this PR introduce a breaking change?**
no
2022-12-12 12:12:18 +00:00
Alex Rudenko
1668d47b2f
docs: various doc improvements ( #9396 )
...
See commits for details.
Closes #1837 , #5880 , #7822 , #8101 , #8821 , #9367 , #9382 , #9378 , #4731
2022-12-09 13:57:39 +01:00
Nikolay Vitkov
89ff872120
chore: Update CI file to use new set method ( #9389 )
...
Closes #9373 ,
Fixes #9296
2022-12-09 10:49:53 +01:00
Thibaud Colas
afc75884d7
docs: fix documentation typo in Page.waitForSelector optional visible
parameter ( #9381 )
...
**What kind of change does this PR introduce?**
Typo fix in the documentation
**Did you add tests for your changes?**
No
**If relevant, did you update the documentation?**
N/A
**Summary**
I spotted the `Visible` parameter had an uppercase `V` in the [Remarks
section of the Page.waitForSelector API
documentation](https://pptr.dev/api/puppeteer.page.waitforselector#remarks ).
Updated this to the lowercase `v` in the relevant places (source,
documentation, versioned version of the doc page).
While doing this, I also spotted there was an extra space in `are :` in
the sentence above – so changed that as well.
**Does this PR introduce a breaking change?**
No
**Other information**
I’ve confirmed the parameter is spelled correctly on
https://pptr.dev/api/puppeteer.waitforselectoroptions . I’m not sure why
the documentation for those properties is in two places with slightly
different wording – but to me it felt useful to see this directly on the
method’s API docs.
2022-12-08 13:59:18 +01:00
release-please[bot]
931d4fced5
chore: release main ( #9322 )
...
🤖 I have created a release *beep* *boop*
---
<details><summary>puppeteer: 19.4.0</summary>
##
[19.4.0](https://github.com/puppeteer/puppeteer/compare/puppeteer-v19.3.0...puppeteer-v19.4.0 )
(2022-12-07)
### Features
* **chromium:** roll to Chromium 109.0.5412.0 (r1069273)
([#9364 ](https://github.com/puppeteer/puppeteer/issues/9364 ))
([1875da6
](1875da6191
)),
closes [#9233 ](https://github.com/puppeteer/puppeteer/issues/9233 )
### Dependencies
* The following workspace dependencies were updated
* dependencies
* puppeteer-core bumped from 19.3.0 to 19.4.0
</details>
<details><summary>puppeteer-core: 19.4.0</summary>
##
[19.4.0](https://github.com/puppeteer/puppeteer/compare/puppeteer-core-v19.3.0...puppeteer-core-v19.4.0 )
(2022-12-07)
### Features
* ability to send headers via ws connection to browser in node.js
environment
([#9314 ](https://github.com/puppeteer/puppeteer/issues/9314 ))
([937fffa
](937fffaedc
)),
closes [#7218 ](https://github.com/puppeteer/puppeteer/issues/7218 )
* **chromium:** roll to Chromium 109.0.5412.0 (r1069273)
([#9364 ](https://github.com/puppeteer/puppeteer/issues/9364 ))
([1875da6
](1875da6191
)),
closes [#9233 ](https://github.com/puppeteer/puppeteer/issues/9233 )
* **puppeteer-core:** keydown supports commands
([#9357 ](https://github.com/puppeteer/puppeteer/issues/9357 ))
([b7ebc5d
](b7ebc5d9bb
))
### Bug Fixes
* **puppeteer-core:** avoid type instantiation errors
([#9370 ](https://github.com/puppeteer/puppeteer/issues/9370 ))
([17f31a9
](17f31a9ee4
)),
closes [#9369 ](https://github.com/puppeteer/puppeteer/issues/9369 )
</details>
---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please ). See
[documentation](https://github.com/googleapis/release-please#release-please ).
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2022-12-07 19:35:29 +01:00
Nikolay Vitkov
1875da6191
feat(chromium): roll to Chromium 109.0.5412.0 (r1069273) ( #9364 )
...
Closes #9233
2022-12-07 14:54:00 +01:00
Robin Richtsfeld
1501edefa8
docs(requestinterception): remove outdated note ( #9358 )
...
See #7304 @jschfflr Seems like we missed some
Thanks to @chrismdd for spotting this
2022-12-07 07:33:27 +00:00
Junyan
b7ebc5d9bb
feat(puppeteer-core): keydown supports commands ( #9357 )
...
Issue: #1313
<!-- Thanks for submitting a pull request! Please provide enough
information so that others can review your pull request. -->
**What kind of change does this PR introduce?**
Feature.
**Did you add tests for your changes?**
Yes.
**If relevant, did you update the documentation?**
Yes.
**Summary**
Supports keyboard shotcuts on MacOS. See Chrome Devtools Protocol
document:
https://chromedevtools.github.io/devtools-protocol/tot/Input/#method-dispatchKeyEvent .
2022-12-03 11:23:47 +01:00
Alex Rudenko
f3c87dcdb7
chore: upgrade mitt ( #9340 )
2022-11-29 19:50:58 +00:00
jrandolf
982a324a88
docs: add guide on query selectors ( #9328 )
2022-11-25 08:58:21 +01:00
Dmitriy Dudkevich
937fffaedc
feat: ability to send headers via ws connection to browser in node.js environment ( #9314 )
...
**What kind of change does this PR introduce?**
I have browsers pool in some cloud. I want that only users with access
will be able to connect to them. So they must provide token through
headers. But puppeteer does not allow to send headers when connected to
browser by ws connection. So I added this feature.
Closes #7218
2022-11-24 11:00:03 +01:00
Alex Rudenko
eda182741b
docs: add bug triage guidelines ( #9305 )
...
Co-authored-by: Mathias Bynens <mathias@qiwi.be>
2022-11-23 11:51:25 +01:00
Joe Gomain Hoyes
bef1061c06
feat(puppeteer-core): Infer element type from complex selector ( #9253 )
...
**What kind of change does this PR introduce?**
Better type inference.
**Did you add tests for your changes?**
~Not yet.~ Yes.
**If relevant, did you update the documentation?**
Not yet.
**Summary**
<!-- Explain the **motivation** for making this change. What existing
problem does the pull request solve? -->
<!-- Try to link to an open issue for more information. -->
Currently methods that return an element handle, i.e. `.$`,
`.waitForSelector` attempt to infer the node element type from the
selector string. However, this only works when the selector is an exact
match of the element tag, i.e. a selector `"a"` would be inferred as
`HTMLAnchorElement` . And not when the selector is complex, i.e.
selectors `"a#some-id"`, `div > a`, `a:nth-child(2)` would all fallback
on `Element`.
This is due to simply looking up the the selector in
`HTMLElementTagNameMap` and `SVGElementTagNameMap` without any attempt
to parse the selector string.
This PR is an attempt to do so.
**Does this PR introduce a breaking change?**
<!-- If this PR introduces a breaking change, please describe the impact
and a migration path for existing applications. -->
This could break existing incorrect assertions using the `as` keyword.
**Other information**
~This PR introduces a dependency on the `type-fest` package.~
This PR is far from complete (no tests, no docs). Put out early for
feedback and discussion.
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
2022-11-23 10:59:23 +01:00
Guillaume Gomez
0a2d310e4e
docs: fix typo in Viewport fields ( #9293 )
...
The `deviceScalarFactor` field of `Viewport` is actually named
`deviceScaleFactor`.
2022-11-17 17:27:07 +01:00
Alex Rudenko
30c6b13eec
chore: re-export all exports ( #9241 )
...
Adds index files to subfolders and removes generation of types.ts in
puppeteer-core.
2022-11-10 17:11:18 +01:00
jrandolf
641a326541
chore: update contributing ( #9202 )
2022-11-03 11:08:36 +01:00
release-please[bot]
990635abc9
chore: release main ( #9184 )
...
🤖 I have created a release *beep* *boop*
---
<details><summary>puppeteer: 19.2.1</summary>
### Dependencies
* The following workspace dependencies were updated
* dependencies
* puppeteer-core bumped from 19.2.0 to ^19.2.1
</details>
<details><summary>puppeteer-core: 19.2.1</summary>
##
[19.2.1](https://github.com/puppeteer/puppeteer/compare/puppeteer-core-v19.2.0...puppeteer-core-v19.2.1 )
(2022-10-28)
### Bug Fixes
* resolve navigation requests when request fails
([#9178 ](https://github.com/puppeteer/puppeteer/issues/9178 ))
([c11297b
](c11297baa5
)),
closes [#9175 ](https://github.com/puppeteer/puppeteer/issues/9175 )
</details>
---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please ). See
[documentation](https://github.com/googleapis/release-please#release-please ).
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2022-11-02 10:54:37 +01:00
jrandolf
8c9308d3dc
docs: remove unsupported debugging method ( #9182 )
...
`ndb` is no longer maintained.
2022-10-28 11:04:05 +02:00
jrandolf
2d2120cea1
docs: improve docs ( #9179 )
...
This PR drastically improves the documentation by improving the sidebars
and adding a GitHub icon.
Fixed: https://github.com/puppeteer/puppeteer/pull/9176
Fixed: https://github.com/puppeteer/puppeteer/issues/9173
![image](https://user-images.githubusercontent.com/101637635/198374826-399219f6-e04f-4613-9613-f7e3281d332f.png )
2022-10-28 08:49:28 +02:00
release-please[bot]
4ef83e0ee6
chore: release main ( #9168 )
2022-10-26 09:51:16 +02:00
Alex Rudenko
e78a4e89c2
feat(chromium): roll to Chromium 108.0.5351.0 (r1056772) ( #9153 )
2022-10-25 12:55:19 +02:00
jrandolf
f07ad2c661
fix: update documentation on configuring puppeteer ( #9150 )
...
This PR updates the docs regarding configuring puppeteer. In addition,
some changes have been made to the documentation generator to show
default values on the documentation site.
Also fixes: https://github.com/puppeteer/puppeteer/pull/9144
2022-10-24 09:07:05 +02:00
jrandolf
ec201744f0
feat: use configuration files ( #9140 )
...
This PR adds configurations files to `puppeteer`'s methods for
configuration. Under the hood, `puppeteer` relies on
https://www.npmjs.com/package/cosmiconfig which resolves several formats
of configuration:
- a `puppeteer` property in package.json
- a `.puppeteerrc` file in JSON or YAML format
- a `.puppeteerrc.json`, `.puppeteerrc.yaml`, `.puppeteerrc.yml`,
`.puppeteerrc.js`, or `.puppeteerrc.cjs` file
- a `puppeteer.config.js` or `puppeteer.config.cjs` CommonJS module
exporting an object
Documentation will be added later.
Fixed : #9128
2022-10-21 15:09:21 +02:00
jrandolf
efcbc97c60
fix: update BrowserFetcher
deprecation message ( #9141 )
2022-10-20 13:25:24 +02:00
Alex Rudenko
122778a1f8
feat: expose browser context id ( #9134 )
...
Closes #9132
2022-10-19 08:30:57 +00:00
jrandolf
535309feff
chore: update troubleshooting guide ( #9123 )
...
This PR updates the troubleshooting guide with some information
regarding the new `exports` resolution and cache directory.
This PR also reformats some of the other MD documents.
2022-10-17 13:07:41 +02:00
jrandolf
6a05d8e9c1
chore: improve docs and scripts ( #9107 )
...
This PR updates some docs and scripts related to the recent changes in
the repository.
2022-10-13 18:55:11 +02:00
jrandolf
1fbc3c643f
chore: improve docs ( #9105 )
...
This PR makes some improvements to the documentation. It migrates
docker, debugging, and chrome extension documentation to the `guides`
folder and also updates some of the terminology.
2022-10-13 08:46:53 +00:00
jrandolf
7294dfe9c6
feat!: deprecate createBrowserFetcher
in favor of BrowserFetcher
( #9079 )
...
This PR deprecates the `createBrowserFetcher` API and requests users to
import the `BrowserFetcher` directly.
Fixed : #8999
2022-10-10 17:51:18 +02:00
jrandolf
1847704789
fix!: refactor custom query handler API ( #9078 )
...
This PR removes the deprecated query selector API from the `puppeteer`
instance. Direct imports of the query selector API have also been
deprecated and users are now expected to use the static methods defined
on `Puppeteer`.
2022-10-10 16:01:09 +02:00
jrandolf
87c08fd86a
fix!: remove puppeteer.devices
in favor of KnownDevices
( #9075 )
...
This PR removes the deprecated `puppeteer.devices` in favor of a new
exported object `KnownDevices`. `devices` can also be exported, but has
been deprecated.
2022-10-10 15:30:12 +02:00
smithc
a032583b6c
feat: add ability to collect JS code coverage at the function level ( #9027 )
2022-10-06 23:53:05 +02:00
jrandolf
41d0122b94
fix!: deprecate indirect network condition imports ( #9074 )
2022-10-06 23:52:58 +02:00
jrandolf
9f4f43a28b
fix!: deprecate indirect error imports ( #9072 )
2022-10-06 23:52:51 +02:00
jrandolf
416d56b033
chore: refactor utils
( #9053 )
...
This PR
- renames the `utils` folder to `tools` (follows internal practice),
- migrates the contents of `scripts` into `tools` and removes scripts.
2022-10-06 10:27:14 +02:00
release-please[bot]
ee1272e65e
chore: release main ( #9052 )
2022-10-05 16:51:59 +02:00
jrandolf
f42336cf83
feat: separate puppeteer and puppeteer-core ( #9023 )
...
This PR moves the puppeteer source code into separate mono-repo packages:
- `puppeteer` and `puppeteer-core` are now separated into their own
packages.
- `puppeteer-core` has a new exports called `puppeteer-core/internal`
for internal usage.
Tests and various tools have been updated to accommodate the migration.
2022-10-05 14:17:03 +02:00
release-please[bot]
3aee641c3d
chore(main): release 18.1.0 ( #9042 )
...
🤖 I have created a release *beep* *boop*
---
##
[18.1.0](https://github.com/puppeteer/puppeteer/compare/v18.0.5...v18.1.0 )
(2022-10-05)
### Features
* **chromium:** roll to Chromium 107.0.5296.0 (r1045629)
([#9039 ](https://github.com/puppeteer/puppeteer/issues/9039 ))
([022fbde
](022fbde85e
))
---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please ). See
[documentation](https://github.com/googleapis/release-please#release-please ).
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2022-10-05 08:27:19 +00:00
Pedro Campelo Matheus
b7b07e3790
chore: add documentation to xpath prefix and deprecated page.waitForTimeout ( #9014 )
2022-10-05 00:25:26 +02:00
Noel Kim (김민혁)
5dbd69e1a4
chore: type in waitForRequest function description ( #9015 )
2022-10-05 00:05:32 +02:00
jrandolf
2a21896cf8
chore: rename vendor to third_party ( #9021 )
...
This PR renames `vendor` to `third_party` to better adhere to internal
codebase nomenclature.
2022-09-28 15:23:37 +02:00
jrandolf
f8de7b1273
chore: bundle vendor code ( #9016 )
...
This PR removes the manual vendoring process. Third party code can now
be updated using the typical NPM pipeline with types/code bundling done
through Rollup.
2022-09-28 13:03:19 +02:00
jrandolf
d06a905540
chore: update deps ( #9013 )
2022-09-27 11:53:19 +02:00
Alex Rudenko
a6f4584a74
chore: clarify build instructions ( #9000 )
2022-09-22 14:53:06 +02:00
Alex Rudenko
31e7b608d5
chore: implement basic evaluate in BiDi ( #8989 )
...
Only the basic return values are supported.
The follow-up PRs will re-use the shared code
from the ExecutionContext and introduce Frame
in BiDi.
2022-09-21 08:10:50 +02:00
jrandolf
d5045976a6
fix: internal lazy params ( #8982 )
2022-09-19 15:10:57 +02:00
jrandolf
7c4f41fadc
chore: use injections for wait tasks ( #8943 )
...
This PR refactors wait tasks to use injected scripts.
2022-09-15 08:22:20 +02:00
Alex Rudenko
db28203e64
chore: support WebDriver BiDi browser instances ( #8932 )
...
This PR adds a basic support for WebDriver BiDi that currently includes only the ability to establish a connection and shutdown the browser. Therefore, the implementation is marked as internal and won't show up in the changelog as it's barely useful at the moment.
The API classes are kept as classes instead of interfaces so that clients relying on instanceof checks still work.
2022-09-15 02:15:15 +02:00
Alex Rudenko
c23c00a4c2
docs: update documentation about the test runner ( #8945 )
2022-09-13 15:04:24 +00:00
Alex Rudenko
27ccd0ae5e
docs: sort and group sidebar items ( #8940 )
...
Issues #8897 , #8936
2022-09-12 13:00:37 +02:00
Connor Clark
7a2d9df146
docs: correct comment about anonymous script coverage urls ( #8914 )
2022-09-08 07:56:26 +02:00
Alex Rudenko
260e428227
fix: support scale for screenshot clips ( #8908 )
...
Closes #5329
2022-09-07 05:27:40 +00: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
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
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
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
Alex Maitland
8d95a9bc92
fix: typos in documentation ( #8858 )
...
- corder should be corner
2022-08-30 13:45:59 +02:00
jrandolf
1155c8eac8
fix!: remove root
from WaitForSelectorOptions
( #8848 )
2022-08-26 12:55:30 +02:00
jrandolf
2f33237d04
fix!: internalize execution context ( #8844 )
2022-08-25 17:02:44 +02:00
jrandolf
b9b24cf963
chore: use deferred promises in web worker ( #8824 )
2022-08-22 14:03:45 +02:00
jrandolf
03c1814e5b
chore: use jobs for document generation ( #8802 )
2022-08-17 15:14:46 +02:00
jrandolf
65a5ce8464
fix: deprecate root
in WaitForSelectorOptions
( #8795 )
2022-08-16 10:09:07 +02:00
jrandolf
8f612d5ff8
fix: deprecate waitForTimeout
( #8793 )
2022-08-16 08:24:25 +02:00
jrandolf
b5da718e2e
fix: deprecate ExecutionContext
( #8792 )
2022-08-16 08:22:45 +02:00
jrandolf
ddbe88b887
chore: add custom rule for formatting comments ( #8777 )
2022-08-12 14:15:26 +02:00
Alex Rudenko
73221042db
chore: follow test:$browser[:$flavor] naming for tests + retries for Firefox ( #8775 )
2022-08-11 18:45:52 +00:00
jrandolf
a238f5758d
chore: refactor JSHandle and ExecutionContext ( #8773 )
2022-08-11 11:45:35 +02:00
jrandolf
b4176029d9
chore: update dependencies ( #8771 )
...
* chore: update dependencies
2022-08-11 07:55:02 +02:00
jrandolf
d6a88a9768
chore: refactor FrameManager and fix docs ( #8770 )
2022-08-10 23:34:29 +02:00
Alex Rudenko
b5064b7b8b
fix: specify Puppeteer version for Chromium 105.0.5173.0 ( #8766 )
2022-08-10 11:51:54 +02:00
Alex Rudenko
6934b94f23
docs: introduce the Guides section + restore req interception docs ( #8758 )
...
Closes #8744
2022-08-09 12:01:23 +00:00
Alex Rudenko
af92fc8f32
docs: fix typos in the docker documentation ( #8751 )
2022-08-08 11:04:50 +00:00
Alex Rudenko
eb6470931b
docs: add documentation about Docker ( #8741 )
...
Closes #3072
2022-08-05 11:00:09 +02:00
jrandolf
5cf9b4de8d
feat: use an xpath
query handler ( #8730 )
2022-08-04 15:45:21 +02:00
Alex Rudenko
2abd772c9c
feat: detect Firefox in connect() automatically ( #8718 )
...
This PR implements automatic detection of the Firefox product when the `.connect()` method is used. This partially undoes the breaking change in https://github.com/puppeteer/puppeteer/pull/8520 but it's also a breaking change on its own since we don't accept an explicit product name anymore (it does not look like it was used anyway).
2022-08-02 13:18:51 +00:00
Alex Rudenko
f52b37a3aa
docs: fix a typo in waitForSelector ( #8701 )
2022-08-02 13:18:48 +00: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
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
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
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
b5a345b06b
chore: format docs ( #8629 )
2022-07-05 15:41:43 +02:00
jrandolf
45eb2c607f
chore: remove docusaurus metadata from README.md ( #8624 )
2022-07-05 14:42:31 +02:00
jrandolf
32c9f3e6fb
chore: update contributing.md ( #8616 )
2022-07-01 16:29:21 +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
Levi Pesin
79e11985ba
feat: add fromSurface option to page.screenshot ( #8496 )
2022-06-27 12:37:37 +00:00
jrandolf
f2e9cbb849
chore: unfreeze version on docs ( #8578 )
2022-06-25 14:21:33 +02:00
release-please[bot]
5849c9beb4
chore(main): release 15.1.1 ( #8577 )
...
* chore(main): release 15.1.1
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2022-06-25 13:33:44 +02:00
jrandolf
9a8bac7138
chore: unfreeze version on docs ( #8575 )
...
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2022-06-24 18:49:31 +02:00
release-please[bot]
5fda494543
chore(main): release 15.1.0 ( #8573 )
...
* chore(main): release 15.1.0
* chore: freeze version on docs
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2022-06-24 18:42:31 +02:00
jrandolf
06543d3db7
chore: unfreeze version on docs ( #8572 )
...
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2022-06-24 15:38:11 +02:00
release-please[bot]
a23cac77f5
chore(main): release 15.0.2 ( #8571 )
...
* chore(main): release 15.0.2
* chore: freeze version on docs
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2022-06-24 15:30:28 +02:00
jrandolf
4aba94424e
chore: unfreeze version on docs ( #8568 )
...
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2022-06-24 10:40:53 +02:00
release-please[bot]
d15f2239b9
chore(main): release 15.0.1 ( #8565 )
...
* chore(main): release 15.0.1
* chore: freeze version on docs
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2022-06-24 09:42:02 +02:00
jrandolf
657e0b53a6
chore: unfreeze version on docs ( #8557 )
...
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2022-06-23 13:48:47 +02:00
release-please[bot]
9705797a02
chore(main): release 15.0.0 ( #8555 )
...
* chore(main): release 15.0.0
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2022-06-23 13:38:28 +02:00
jrandolf
84712cbc28
chore: use Google's TS style guide's format config ( #8542 )
2022-06-22 15:25:44 +02:00
Randolf J
3744c2f584
chore: unfreeze version on docs
2022-06-20 09:31:06 +02:00
release-please[bot]
3d1ec573fb
chore(main): release 14.4.1 ( #8523 )
2022-06-17 15:29:28 +02:00
Randolf J
6bc45c4ae8
chore: unfreeze version on docs
2022-06-13 23:27:40 +02:00
release-please[bot]
e0c537408e
chore(main): release 14.4.0 ( #8512 )
...
* chore(main): release 14.4.0
* chore: freeze version on docs
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2022-06-13 23:05:56 +02:00
Randolf J
353358a996
chore: unfreeze version on docs
2022-06-07 16:34:36 +02:00
release-please[bot]
4b05a8454e
chore(main): release 14.3.0 ( #8471 )
...
* chore(main): release 14.3.0
* chore: freeze version on docs
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2022-06-07 16:21:47 +02:00
Alex Rudenko
e14256010d
feat: use absolute URL for EVALUATION_SCRIPT_URL ( #8481 )
...
Closes #8424
2022-06-07 15:36:51 +02:00
jrandolf
66008c2189
chore: unfreeze version on docs ( #8465 )
...
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2022-06-02 16:42:02 +02:00
release-please[bot]
d5cd41686c
chore(main): release 14.2.1 ( #8462 )
...
* chore(main): release 14.2.1
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: jrandolf <101637635+jrandolf@users.noreply.github.com>
2022-06-02 15:38:51 +02:00
Randolf J
cf49b18beb
chore: build main docs
2022-06-01 22:18:41 +02:00
release-please[bot]
b3b62b35f3
chore(main): release 14.2.0 ( #8457 )
...
* chore(main): release 14.2.0
* chore: freeze version on docs
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2022-06-01 22:11:58 +02:00
Alex Rudenko
d4321e53c9
chore: bump version to v14.1.1-post ( #8376 )
2022-05-19 17:31:18 +02:00
Alex Rudenko
0ca60a7ff0
chore(release): mark v14.1.1 ( #8374 )
2022-05-19 14:54:39 +00:00
Alex Rudenko
25216df42b
chore: bump version to v14.1.0-post ( #8341 )
2022-05-13 08:19:13 +00:00
Alex Rudenko
1441fb84d8
chore(release): mark v14.1.0 ( #8339 )
2022-05-13 07:31:25 +00:00
Alex Rudenko
7eaadafe19
feat: add waitForXPath to ElementHandle ( #8329 )
2022-05-10 12:45:20 +02:00
Dave Vandyke
1e82d98027
docs: improve the Working with Chrome Extensions section ( #8321 )
...
- Added a note to mention the experimental Chrome headless mode can
also be used.
- Improved the example code to wait for the background page to be
ready. The previous example sometimes didn't work, since the
background page would take a split-second to load.
- Added a note to mention how to find the background ServiceWorker for
Chrome MV3 extensions.
2022-05-10 06:21:57 +00:00
Alex Rudenko
edb4a33f22
chore: bump version to v14.0.0-post ( #8327 )
2022-05-09 14:08:48 +00:00
Alex Rudenko
06f7390eab
chore(release): mark v14.0.0 ( #8326 )
2022-05-09 13:13:07 +00:00
Valentin Semirulnik
baa017db92
feat: add support for Apple Silicon chromium builds ( #7546 )
...
Google has published Chromium builds for Apple Silicon so we can fetch it now
Related to #6622
2022-05-05 07:33:19 +00:00
Alex Rudenko
2804ae8cdb
fix!: strict mode fixes for HTTPRequest/Response classes ( #8297 )
...
Solves type issues in HTTPRequest/Response with some slight changes in the behaviour and API.
Issues #6769
2022-05-05 06:48:03 +00:00
jrandolf
274bd6b3b9
chore: drop Node 12 support ( #8299 )
...
This patches removes support for Node 12.
BREAKING CHANGE: Node 12 is no longer supported.
2022-05-03 08:59:40 +02:00
Andy Earnshaw
94cb08c859
docs: update troubleshooting.md with latest alpine details ( #8271 )
2022-04-29 06:25:20 +00:00
jrandolf
15583c3eac
chore: bump version to v13.7.0-post ( #8293 )
...
* chore: bump version to v13.7.0-post
2022-04-28 12:33:29 +00:00
jrandolf
ae97ccab68
chore(release): mark v13.7.0 ( #8292 )
2022-04-28 10:59:24 +00:00
jrandolf
7a51bff47f
feat: add back
and forward
mouse buttons ( #8284 )
2022-04-27 21:00:07 +00:00
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