Commit Graph

905 Commits

Author SHA1 Message Date
Nikolay Vitkov
9a17ec3b2a
fix(performance): cache isolatedHandle (#12150)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-19 11:55:05 +02:00
Alex Rudenko
8fa52a50bd
feat(webdriver): support Network interception (#12279) 2024-04-16 14:39:27 +02:00
release-please[bot]
e0932e5cce
chore: release main (#12274)
🤖 I have created a release *beep* *boop*
---


<details><summary>browsers: 2.2.2</summary>

##
[2.2.2](https://github.com/puppeteer/puppeteer/compare/browsers-v2.2.1...browsers-v2.2.2)
(2024-04-15)


### Bug Fixes

* remove NetworkServiceInProcess2 set by default
([#12261](https://github.com/puppeteer/puppeteer/issues/12261))
([ff4f70f](ff4f70f4ae)),
closes [#12257](https://github.com/puppeteer/puppeteer/issues/12257)
</details>

<details><summary>puppeteer: 22.6.5</summary>

##
[22.6.5](https://github.com/puppeteer/puppeteer/compare/puppeteer-v22.6.4...puppeteer-v22.6.5)
(2024-04-15)


### Miscellaneous Chores

* **puppeteer:** Synchronize puppeteer versions


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * puppeteer-core bumped from 22.6.4 to 22.6.5
    * @puppeteer/browsers bumped from 2.2.1 to 2.2.2
</details>

<details><summary>puppeteer-core: 22.6.5</summary>

##
[22.6.5](https://github.com/puppeteer/puppeteer/compare/puppeteer-core-v22.6.4...puppeteer-core-v22.6.5)
(2024-04-15)


### Bug Fixes

* remove NetworkServiceInProcess2 set by default
([#12261](https://github.com/puppeteer/puppeteer/issues/12261))
([ff4f70f](ff4f70f4ae)),
closes [#12257](https://github.com/puppeteer/puppeteer/issues/12257)
* use setImmediate to reduce flakiness when processing events
([#12264](https://github.com/puppeteer/puppeteer/issues/12264))
([73403b3](73403b323e))


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @puppeteer/browsers bumped from 2.2.1 to 2.2.2
</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>
2024-04-15 07:06:55 +00:00
Nikolay Vitkov
140f012b51
chore(webdriver): support page.setExtraHTTPHeaders (#12269)
Will create a separate PR that changes the docs and marked as `feat`.

---------

Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
2024-04-12 17:32:26 +02:00
Nikolay Vitkov
f00dca4129
chore: add client to HTTPRequest (#12267) 2024-04-12 14:39:04 +02:00
Nikolay Vitkov
402b4a4812
refactor: extract toggling of Network Interception (#12266) 2024-04-12 14:29:06 +02:00
Alex Rudenko
73403b323e
fix: use setImmediate to reduce flakiness when processing events (#12264) 2024-04-12 09:45:32 +00:00
Alex Rudenko
ff4f70f4ae fix: remove NetworkServiceInProcess2 set by default (#12261)
Puppeteer has relied on this flag for a [long time](https://github.com/puppeteer/puppeteer/pull/3738) but it looks like it is not required anymore and it might lead to crashes in the latest versions of Chrome for desktop. This CL removes the flag.

Issue #12257
2024-04-12 11:08:26 +02:00
release-please[bot]
75f170b26d
chore: release main (#12252)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2024-04-11 16:51:07 +00:00
Nikolay Vitkov
15dde692f3
docs: update links to point to property table (#12249) 2024-04-11 13:01:13 +02:00
Nikolay Vitkov
a2f3415df2
chore(webdriver): support for Page.authenticate (#12217) 2024-04-11 08:19:26 +00:00
browser-automation-bot
50b66591e7
fix: roll to Chrome 123.0.6312.122 (r1262506) (#12248) 2024-04-11 08:19:57 +02:00
Nikolay Vitkov
9237390b83
build(dependencies): bump chromium-bidi to 0.5.17 (#12245) 2024-04-10 16:54:29 +02:00
Nikolay Vitkov
5f7254c41c
fix: suppress error for wrong error code (#12244) 2024-04-10 13:13:00 +02:00
Ahsan Moin
4ba7c9e093
chore: fix typos (#12242) 2024-04-09 12:36:02 +02:00
Nikolay Vitkov
60e15fe5c5
chore: remove sort comments (#12237) 2024-04-08 19:58:29 +02:00
findseat
82923ec9cb
chore: fix some typos (#12228)
Signed-off-by: findseat <penglili@outlook.com>
2024-04-08 09:38:49 +00:00
Alex Rudenko
aa5b1824a5
fix: retain stale main frame for longer (#12225) 2024-04-08 09:24:54 +00:00
Alex Rudenko
e20cd64fff
fix(a11y): query only unignored nodes (#12224) 2024-04-05 20:33:01 +02:00
release-please[bot]
a63b8305ac
chore: release main (#12190)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2024-04-05 13:11:52 +00:00
Alex Rudenko
17e9fee77b
refactor: include the cause into locator abort and timeout errors (#12207) 2024-04-05 09:18:24 +00:00
Alex Rudenko
bb10e45696
ci: add an option to run with experimental features (#12210) 2024-04-05 09:05:39 +00:00
browser-automation-bot
ee31272115
fix: roll to Chrome 123.0.6312.105 (r1262506) (#12209) 2024-04-05 07:27:22 +00:00
Alex Rudenko
4ec0280080
fix: check if executablePath exists (#12201) 2024-04-04 10:46:35 +00:00
Nikolay Vitkov
d345055af3
fix(webdriver): request redirect chain (#12168) 2024-04-02 21:54:13 +02:00
Alex Rudenko
6dfb560fa5
refactor: remove goog: prefix from permission API (#12193) 2024-04-02 17:43:22 +02:00
Nikolay Vitkov
08bc8542ea
chore(webdriver): support priority for request interception (#12191) 2024-04-02 11:20:36 +00:00
Alex Rudenko
59bffce972
fix: wait for fonts before pdf printing (#12175) 2024-04-02 08:52:51 +00:00
release-please[bot]
3e1e419fe6
chore: release main (#12158)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2024-03-28 14:36:37 +01:00
Nikolay Vitkov
a71c62f523
build(deps): bump chromium-bidi (#12171) 2024-03-28 11:42:32 +01:00
Alex Rudenko
733a1c4322
refactor: publish unminified sources (#12169) 2024-03-28 10:05:59 +01:00
Nikolay Vitkov
730221d98d
chore(webdriver): fix sending multiple headers (#12170) 2024-03-27 19:10:41 +00:00
Nikolay Vitkov
bc5af0fcf1
chore(webdriver): fix issues when removing header (#12167) 2024-03-27 18:43:09 +00:00
Alex Rudenko
b1d30a6158
refactor: remove deferred from addStyleTag (#12166) 2024-03-27 19:30:20 +01:00
Alex Rudenko
957cb8ee6c
refactor: remove deferred from addScriptTag (#12165) 2024-03-27 17:23:51 +01:00
Alex Rudenko
c9ad6b48c4
test(webdriver): fix some tests (#12164) 2024-03-27 15:58:18 +00:00
Rick Viscomi
950cbf73f8
docs: remove obsolete page.target() from CDPSession doc (#12163) 2024-03-27 16:23:04 +01:00
Alex Rudenko
81ded4c85f
chore: fix the todo for using MapperOptions type (#12148) 2024-03-27 15:17:39 +00:00
Alex Rudenko
6b7e3c6239
chore(webdriver): support browser.userAgent (#12162) 2024-03-27 13:50:48 +00:00
Nikolay Vitkov
6edb80b2a5
chore(webdriver): support options in request.continue (#12155) 2024-03-27 10:42:12 +00:00
Julian Descottes
b144935789
chore: Remove workaround for Firefox addIntercept contexts argument (#12159) 2024-03-27 08:12:56 +00:00
browser-automation-bot
29637f2b8f
fix: roll to Chrome 123.0.6312.86 (r1262506) (#12156) 2024-03-27 07:26:07 +00:00
Alex Rudenko
b41238f212
build(deps): bump chromium-bidi (#12149) 2024-03-26 11:39:26 +01:00
Nikolay Vitkov
cd88110456
chore(webdriver): scaffold HTTPRequest.respond() (#12147) 2024-03-26 07:57:49 +00:00
release-please[bot]
bf1fd1e828
chore: release main (#12118)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2024-03-25 13:03:57 +00:00
Nikolay Vitkov
6be72f315b
chore: cache executionContextID on Realm (#12131) 2024-03-25 09:32:24 +00:00
Alex Rudenko
ac1767da0b
fix: apply timeout to waiting for a response (#12142) 2024-03-25 08:44:11 +00:00
Alex Rudenko
00fa75ec9e
docs: mention issues with buffer encoding (#12141) 2024-03-25 09:30:56 +01:00
Alex Rudenko
15a7b30cbc
chore(deps): Bump chromium-bidi (#12135) 2024-03-22 19:35:57 +01:00
Nikolay Vitkov
35504ae0e7
refactor: don't expose the deferred (#12130) 2024-03-22 16:57:29 +01:00
Alex Rudenko
d4760317c9
fix: reload should not resolve early on fragment navigations (#12119) 2024-03-21 10:54:57 +00:00
Alex Rudenko
b096ffaa03
fix: support clip in ElementHandle.screenshot (#12115) 2024-03-21 08:16:24 +00:00
dependabot[bot]
93e9acc410
chore(deps-dev): Bump the dev-dependencies group with 3 updates (#12101)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nikolay Vitkov <nvitkov@chromium.org>
2024-03-20 15:03:14 +00:00
Nikolay Vitkov
388af91e46
chore(webdriver): support for Network interception (#12106) 2024-03-20 13:55:07 +00:00
release-please[bot]
4f9f060408
chore: release main (#12108)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2024-03-20 09:57:03 +01:00
browser-automation-bot
6f5b3bc9b8
feat: roll to Chrome 123.0.6312.58 (r1262506) (#12110)
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2024-03-20 06:57:06 +00:00
Nikolay Vitkov
6ba6bef1b9
fix(webdriver): emit RequestServedFromCache for requests (#12104) 2024-03-19 15:25:33 +00:00
release-please[bot]
9aef7dc5e5
chore: release main (#12099)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2024-03-15 16:41:26 +01:00
Nikolay Vitkov
d5da9fbfde
chore(deps): bump chromium-bidi (#12097) 2024-03-15 15:47:52 +01:00
jrandolf
26376224d5
fix: fix keyboard.sendCharacter (#12088) 2024-03-13 15:15:00 +00:00
Nikolay Vitkov
e867dd435f
docs: remove double the (#12087) 2024-03-13 15:04:48 +00:00
jrandolf
1a05d37cf2
chore: remove skip and add more frame.name() instructions (#12085) 2024-03-13 14:44:42 +00:00
jrandolf
0203b4533d
feat: deprecate Frame.prototype.name (#12084) 2024-03-13 14:29:59 +00:00
browser-automation-bot
ef7a9eac16
fix: roll to Chrome 122.0.6261.128 (r1250580) (#12078) 2024-03-13 13:45:12 +01:00
Darío Kondratiuk
4f422e60a6
test: improve target.asPage tests (#12060) 2024-03-11 10:54:55 +00:00
Nikolay Vitkov
9afe4246bb
fix(webdriver): emit CDP events (#12058) 2024-03-08 15:15:05 +01:00
release-please[bot]
e1a9b85bbe
chore: release main (#12056)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2024-03-08 13:12:17 +01:00
browser-automation-bot
9b31bca01a
fix: roll to Chrome 122.0.6261.111 (r1250580) (#12055) 2024-03-08 08:05:50 +01:00
Nikolay Vitkov
5b0adda5b9
refactor: extract BrowserContext class (#12053) 2024-03-07 13:35:28 +00:00
Yotam Laufer
c25388c335
docs: fix typo (#12050) 2024-03-06 19:19:25 +01:00
release-please[bot]
eddff1f55a
chore: release main (#12002)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2024-03-05 10:41:21 +00:00
Maksim Sadym
7fe22b533d
feat(webdriver): support Page.deleteCookie() for WebDriver BiDi (#12031) 2024-03-04 14:38:49 +00:00
Maksim Sadym
0c608754f6
chore(deps): Bump chromium-bidi to 0.5.12 (#12027)
## [0.5.12](https://github.com/GoogleChromeLabs/chromium-bidi/compare/chromium-bidi-v0.5.11...chromium-bidi-v0.5.12) (2024-02-29)


### Features

* implement `storage.deleteCookies` ([#1915](https://github.com/GoogleChromeLabs/chromium-bidi/issues/1915)) ([18d3d4f](18d3d4f197))


### Bug Fixes

* implement less flaky network module ([#1871](https://github.com/GoogleChromeLabs/chromium-bidi/issues/1871)) ([4ec8bad](4ec8bad7d1))
* parse `browser.RemoveUserContextParameters` ([#1905](https://github.com/GoogleChromeLabs/chromium-bidi/issues/1905)) ([a50821b](a50821b266))
2024-02-29 15:34:53 +00:00
Alex Rudenko
6d8831a9c3
fix(webdriver): wait for response if the response has not completed once navigation has finished (#12018) 2024-02-29 10:11:17 +00:00
Alexandra Borovova
355835bd63
chore: set "network.cookie.cookieBehavior" preference to "0" only for CDP (#12016) 2024-02-29 08:44:56 +00:00
Henrik Skupin
1eb6a33aa0
chore: for Firefox enable only the required protocol (CDP or BiDi) (#12014) 2024-02-28 13:13:12 +00:00
browser-automation-bot
7ba5529f8d
fix: roll to Chrome 122.0.6261.94 (r1250580) (#12012) 2024-02-28 08:29:58 +00:00
jrandolf
accf2b6ca8
feat: implement ElementHandle.uploadFile for WebDriver BiDi (#11963) 2024-02-26 14:10:46 +00:00
jrandolf
414f43388b
chore: implement ARIA queries in BiDi (#11999) 2024-02-26 13:09:37 +00:00
jrandolf
53cf9ce5d7
chore: update chromium bidi (#11998) 2024-02-26 12:06:43 +01:00
jrandolf
627bd00399
chore: implement removeExposedFunction (#11984) 2024-02-26 11:42:51 +01:00
release-please[bot]
9ddfa5314c
chore: release main (#11972)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2024-02-26 10:14:43 +00:00
browser-automation-bot
eb2c33485e
fix: roll to Chrome 122.0.6261.69 (r1250580) (#11991) 2024-02-23 09:28:32 +00:00
Alex Rudenko
3a467c39cb
feat: implement permissions for WebDriver BiDi (#11979) 2024-02-23 09:16:58 +00:00
jrandolf
7966dd7262
chore: refactor exposed function for BiDi (#11976) 2024-02-22 18:01:39 +00:00
Alex Rudenko
3448a4097b
build: fix windows build (#11975) 2024-02-22 15:30:58 +01:00
dependabot[bot]
5e942b3b2f
chore(deps): Bump the dependencies group with 1 update (#11973)
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 <alexrudenko@chromium.org>
2024-02-22 13:45:38 +00:00
Alex Rudenko
873d6db020
build: make sure license information is preserved (#11971) 2024-02-22 13:42:59 +01:00
Alex Rudenko
753a954456
fix: supress viewport errors for pages that do not support changing it (#11970) 2024-02-22 13:10:59 +01:00
release-please[bot]
19fe78f797
chore: release main (#11949)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2024-02-22 09:09:03 +01:00
Alex Rudenko
ceab7a9042
fix: deprecate isIncognito (#11962) 2024-02-21 13:52:58 +01:00
jrandolf
013bd0b12d
fix: update touchscreen tests (#11960) 2024-02-21 11:24:36 +01:00
browser-automation-bot
70ad3b2448
feat: roll to Chrome 122.0.6261.57 (r1250580) (#11958)
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2024-02-21 11:14:39 +01:00
Alex Rudenko
76143f328f
test: fix frameset clicks in WebDriver BiDi (#11952) 2024-02-19 14:30:21 +00:00
browser-automation-bot
03ef7a62c2
fix: roll to Chrome 121.0.6167.184 (r1233107) (#11948) 2024-02-19 12:28:58 +00:00
release-please[bot]
f6e7cbcade
chore: release main (#11901)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2024-02-17 12:43:56 +01:00
Alex Rudenko
f00a94a809
fix: Chrome for Testing downloads have a new URL (#11923) 2024-02-17 10:17:04 +00:00
jrandolf
a02c7a56f4
chore: wait for frames to be destroyed (#11919) 2024-02-15 09:22:23 +01:00
jrandolf
bd4d0febf0
chore: waitForNavigation should fail if navigation aborts or fails (#11914) 2024-02-15 09:16:46 +01:00
dependabot[bot]
634d5b805d
chore(deps-dev): Bump the dev-dependencies group with 13 updates (#11908)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nikolay Vitkov <nvitkov@chromium.org>
2024-02-14 18:20:12 +00:00