Commit Graph

942 Commits

Author SHA1 Message Date
Alex Rudenko
bc17e339bc
refactor: replace deferred with rxjs (#12406) 2024-05-07 12:30:47 +02:00
Alex Rudenko
93bf52bdfc
refactor: move disposed handling (#12405) 2024-05-07 11:01:48 +02:00
Alex Rudenko
0eae3d1bb6
refactor: move execution context events (#12402) 2024-05-07 09:50:56 +02:00
Alex Rudenko
3eab6b5381
refactor: simplify worlds handling (#12400) 2024-05-06 17:19:23 +02:00
Alex Rudenko
91e9503624
refactor: improve ExecutionContext internals (#12399) 2024-05-06 13:55:20 +00:00
Alex Rudenko
5a05838b62
refactor: move binding installation into the execution context (#12398) 2024-05-06 15:28:33 +02:00
Alex Rudenko
5ce4f12960
refactor: move createCdpHandle to IsolatedWorld (#12397) 2024-05-06 13:22:11 +02:00
release-please[bot]
0ab119477a
chore: release main (#12375)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2024-05-06 09:34:02 +02:00
Alex Rudenko
5772210af3
chore: add an ExtensionTransport (#12382) 2024-05-03 20:21:08 +02:00
Nikolay Vitkov
dc303f061b
test: clean test in after hook (#12325) 2024-05-03 10:14:41 +02:00
Alex Rudenko
461a8ff92f
fix: disable IsolateSandboxedIframes trial to prevent flakiness (#12381) 2024-05-02 15:55:15 +02:00
Alex Rudenko
73d7692ae9
fix: turn on PdfOopif for PDF viewer (#12370)
Refs: #12292, #10696, #12172
2024-05-02 11:27:18 +00:00
Alex Rudenko
54a6377d7d
fix: remove --disable-field-trial-config (#12377) 2024-05-02 09:00:59 +00:00
Alex Rudenko
dffad28a42
fix: deprecate CDP for Firefox (#12349) 2024-05-02 08:28:01 +00:00
Nikolay Vitkov
dfb31f3e92
test: puppeteer.connect with using disconnects the browser (#12371) 2024-05-02 07:22:06 +00:00
Nikolay Vitkov
110351aaf5
chore: pass down config form CDP connection to BiDi (#12366) 2024-04-30 08:23:25 +02:00
Nikolay Vitkov
3103744a67
chore: don't run destroyHandles if realm is already disposed (#12365) 2024-04-30 07:59:07 +02:00
Nikolay Vitkov
41d43200b7
docs: show experimental and remark blocks (#12363) 2024-04-29 14:50:39 +02:00
Alex Rudenko
fb0d7252e4
refactor: split entrypoint imports (#12350) 2024-04-29 10:58:20 +00:00
dependabot[bot]
b6d30dd34a
chore(deps): Bump the dependencies group across 1 directory with 2 updates (#12359)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-29 08:22:10 +00:00
Nikolay Vitkov
28a8d0ffb6
fix(cdp): throw on closed connection (#12352) 2024-04-29 06:27:16 +00:00
Nikolay Vitkov
1c1891e6ab
docs: update links (#12351) 2024-04-26 13:13:43 +00:00
Nikolay Vitkov
e1606acfc8
fix(webdriver): redirects emitting events (#12338) 2024-04-26 10:28:11 +00:00
browser-automation-bot
fedd8a9628
fix: roll to Chrome 124.0.6367.91 (r1274542) (#12344) 2024-04-26 08:34:17 +00:00
Alex Rudenko
b665c60de8
refactor: configure https error handling globally (#12339) 2024-04-26 08:16:32 +00:00
Nikolay Vitkov
1f99e669a1
feat(webdriver): support page.setUserAgent for WebDriver BiDi (#12330) 2024-04-25 14:37:39 +02:00
Alex Rudenko
88b46ee502
feat(webdriver): support ARIA selectors (#12315)
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
2024-04-25 10:32:04 +00:00
release-please[bot]
feef2a300e
chore: release main (#12318)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2024-04-25 10:19:43 +00:00
Nikolay Vitkov
e35e783a74
chore: make a single visibility check (#12317) 2024-04-24 13:13:09 +00:00
Nikolay Vitkov
e254f746ee
chore: remove type castings (#12322) 2024-04-24 14:26:01 +02:00
Alex Rudenko
943ade77b7
build(deps): bump chromium-bidi to 0.5.19 (#12319) 2024-04-24 09:55:01 +00:00
browser-automation-bot
1241ccc908
fix: roll to Chrome 124.0.6367.78 (r1274542) (#12314) 2024-04-24 08:44:50 +00:00
Alex Rudenko
a94fee9c66
build(deps): bump chromium-bidi to 0.5.18 (#12307) 2024-04-23 12:22:20 +00:00
release-please[bot]
02cf1c713d
chore: release main (#12280)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2024-04-23 09:41:34 +00:00
Nikolay Vitkov
f2391307d1
chore: don't detach CdpSession (#12154) 2024-04-23 08:49:35 +00:00
browser-automation-bot
ed9d7dd2f5
feat: roll to Chrome 124.0.6367.60 (r1274542) (#12305)
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2024-04-23 07:42:06 +00:00
Nikolay Vitkov
29e33df2a8
refactor: remove EventSubscription (#12277) 2024-04-19 12:24:40 +02:00
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