Commit Graph

1528 Commits

Author SHA1 Message Date
Nikolay Vitkov
b99d478cd4
feat: add outline to PDF generation (#11779) 2024-01-30 12:34:33 +01:00
jrandolf
d085127bba
refactor: use generic implementation for waitForNetworkIdle (#11757) 2024-01-26 16:06:41 +01:00
Alex Rudenko
932b010932
build: add a firefox:bidi:headful command (#11760) 2024-01-26 10:05:59 +00:00
Alex Rudenko
ce894a2ffc
feat: download chrome-headless-shell by default and use it for the old headless mode (#11754) 2024-01-25 21:39:07 +01:00
Alex Rudenko
f67b205776
test: update expectation for Page.removeScriptToEvaluateOnNewDocument (#11755) 2024-01-25 16:37:21 +01:00
Alex Rudenko
f88e1da638
feat: add experimental browser.debugInfo (#11748) 2024-01-25 14:57:45 +00:00
Alex Rudenko
b53de4e094
test: dedupe test names (#11746) 2024-01-24 18:13:55 +01:00
Nikolay Vitkov
230d041a4f
chore: move test under correct file (#11745) 2024-01-24 15:24:17 +00:00
browser-automation-bot
0eec94cf57
feat: roll to Chrome 121.0.6167.85 (r1233107) (#11743)
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2024-01-24 13:28:45 +00:00
Alex Rudenko
415cfaca20
feat: roll to Chrome 120.0.6099.109 (r1217362) (#11733) 2024-01-24 13:10:23 +01:00
Alex Rudenko
afa3fd4c34
chore: add memory debugging to mocha runner (#11722) 2024-01-23 13:26:57 +00:00
dependabot[bot]
2b094b7c67
chore(deps-dev): Bump the dev-dependencies group with 2 updates (#11695)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-22 14:27:32 +01:00
Nikolay Vitkov
280249ff2f
chore: flip test (#11707) 2024-01-22 10:13:53 +01:00
Nikolay Vitkov
da2dfc717c
chore: rename tests (#11699) 2024-01-18 10:26:35 +00:00
Alex Rudenko
8b71db7fa7
test: add tests for device pixel ratio (#11690) 2024-01-16 08:55:25 +01:00
Alex Rudenko
3465e3012b
test: fix a failing screenshot test for BiDi (#11675) 2024-01-15 07:03:47 +01:00
Nikolay Vitkov
864ebc86c9
chore: remove some instances of TS any (#11661) 2024-01-11 14:26:02 +00:00
Nikolay Vitkov
cf879b82f6
fix: expose function for Firefox BiDi (#11660) 2024-01-11 11:08:21 +00:00
Nikolay Vitkov
e47cb18ef5
chore: refactor expectations (#11659) 2024-01-10 15:06:47 +01:00
Alex Rudenko
ff761bc212
test: update expectations (#11634) 2024-01-05 13:04:26 +01:00
Alex Rudenko
cc3aeeb6ea
fix: wait for WebDriver BiDi browser to close gracefully (#11636) 2024-01-05 10:00:59 +00:00
Nikolay Vitkov
6e87444471
chore: remove file: deps (#11630) 2024-01-05 06:39:16 +01:00
Alex Rudenko
ea2f6b8ee7
test: unskip a BiDi test (#11628) 2024-01-04 14:21:20 +00:00
Alex Rudenko
afc9f46aa3
test: split headful spec (#11622) 2024-01-04 06:51:47 +00:00
Henrik Skupin
db986ad662
test: re-enable Firefox BiDi tests on MacOS (#11596) 2024-01-04 07:34:52 +01:00
Nikolay Vitkov
b6c5642cc9
chore: update license headers (#11563) 2024-01-03 10:11:33 +00:00
Alex Rudenko
b0c5392cb3
fix: improve reliability of exposeFunction (#11600) 2024-01-02 13:58:55 +01:00
Alex Rudenko
66aa770038
feat: allow converting other targets to pages (#11604) 2024-01-02 10:32:03 +00:00
Alex Rudenko
80143def96
feat: support fetching request POST data (#11598) 2024-01-02 11:02:08 +01:00
Alex Rudenko
c660d4001d
feat: support timeouts per CDP command (#11595) 2024-01-02 11:00:07 +01:00
Henrik Skupin
e41a2656d9
fix: disable GFX sanity window for Firefox and enable WebDriver BiDi CI jobs for Windows (#11578) 2023-12-28 13:20:22 +01:00
jrandolf
af6eba4bea
chore: abstract web worker API (#11558) 2023-12-15 13:08:28 +01:00
jrandolf
62a5a07c2a
chore: revert to Chrome 119.0.6045.105 (#11540) 2023-12-13 14:52:24 +01:00
jrandolf
2bcf1e62d8
revert: "feat: download chrome-headless-shell by default and use it for the old headless mode" (#11545) 2023-12-13 14:40:06 +01:00
jrandolf
b6d1163f7f
fix: emulate if captureBeyondViewport is false (#11525) 2023-12-12 23:12:24 +00:00
Alex Rudenko
04b879944a
test: add a test for eval followed by a mouse event (#11506) 2023-12-08 10:38:49 +01:00
Alex Rudenko
75ba27bca2
feat: download chrome-headless-shell by default and use it for the old headless mode (#11093) 2023-12-07 10:00:20 +00:00
dependabot[bot]
8f4b8eb58c
chore(deps-dev): Bump the dev-dependencies group with 2 updates (#11512)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-07 09:51:14 +01:00
browser-automation-bot
fc0b0796be
fix: roll to Chrome 120.0.6099.71 (r1217362) (#11513)
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2023-12-07 09:12:53 +01:00
browser-automation-bot
b38f637adf
feat: roll to Chrome 120.0.6099.62 (r1217362) (#11501)
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2023-12-06 09:24:27 +01:00
Alex Rudenko
f8c94699c7
fix: remove CDP-specific preferences from defaults for Firefox (#11477) 2023-12-05 15:40:49 +00:00
Alex Rudenko
37bcb77494
test: implement page target for BiDi to run the console test (#11480) 2023-12-01 10:55:58 +01:00
Maksim Sadym
be081ba17a
feat: BiDi implementation of Puppeteer.connect for Firefox (#11451)
Co-authored-by: Maksim Sadym <sadym@google.com>
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
2023-12-01 08:30:01 +00:00
Maksim Sadym
a66d029607
fix: end WebDriver BiDi session on disconnect (#11470)
Co-authored-by: Maksim Sadym <sadym@google.com>
2023-11-30 14:27:49 +00:00
Alex Rudenko
50695ec4d0
test: update click tests in Firefox (#11473) 2023-11-30 14:26:27 +01:00
Alex Rudenko
e3abce1080
test: enable goBack/goForward tests in Firefox (#11448) 2023-11-27 12:11:27 +00:00
Alex Rudenko
f8f1a0f06f
chore: implement goBack/goForward for WebDriver BiDi (#11447) 2023-11-27 11:38:59 +00:00
Alex Rudenko
53fb69bf7f
feat: implement the Puppeteer CLI (#11344) 2023-11-23 08:51:37 +00:00
Nikolay Vitkov
63a0d8b683
chore: fail fast waitForSelector BiDi (#11406) 2023-11-16 21:52:43 +01:00
jrandolf
2bf28ea1e5
chore: implement document screenshots in BiDi (#11398) 2023-11-16 12:46:28 +00:00
Nikolay Vitkov
b58ba6b07c
chore: small fixes (#11397) 2023-11-16 08:16:40 +01:00
Nikolay Vitkov
856802fec3
chore: implement Page.close prompt unload (#11399) 2023-11-16 08:10:20 +01:00
Maksim Sadym
d0d4ceb5fa
test: fail ignoreHTTPSErrors faster (#11366)
Co-authored-by: Maksim Sadym <sadym@google.com>
2023-11-13 13:55:06 +01:00
Nikolay Vitkov
915eb7ff4e
chore: update Prettier (#11372) 2023-11-13 13:28:15 +01:00
Alex Rudenko
4bf2a09a13
fix: mitt types should not be exported (#11371) 2023-11-13 13:27:17 +01:00
Maksim Sadym
9f161ec76b chore: implement Puppeteer.connect for BiDi over CDP browser (#11350)
Co-authored-by: Maksim Sadym <sadym@google.com>
2023-11-13 10:44:48 +01:00
Nikolay Vitkov
cdf2b4395c
tests: update Expectations (#11356) 2023-11-13 09:08:24 +01:00
Nikolay Vitkov
12569b8f09
tests: close process on Errors (#11351) 2023-11-10 15:42:16 +01:00
Maksim Sadym
0533764aac
test: pass protocol in Puppeteer.connect in tests (#11342)
Add an internal field protocol: 'cdp' | 'webDriverBiDi' to the Browser and use is in tests when Puppeter.connect(...) is called.

Co-authored-by: Maksim Sadym <sadym@google.com>
2023-11-10 12:55:08 +00:00
Alex Rudenko
409f7f8583
chore: update expectations for Firefox (#11346) 2023-11-10 09:37:50 +01:00
Alex Rudenko
2da4915e6b
chore: remove sharedId check (#11328) 2023-11-09 10:20:36 +01:00
dependabot[bot]
f22a33bfa2
chore(deps-dev): Bump the dev-dependencies group with 13 updates (#11318)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-08 08:39:53 +00:00
Nikolay Vitkov
08615f848c
test: add installation test for BiDi (#11311) 2023-11-07 08:20:44 +01:00
Nikolay Vitkov
8a54722328
refactor: move dependencies where they are used (#11310) 2023-11-06 14:03:57 +01:00
browser-automation-bot
325fa8b1b1
feat: roll to Chrome 119.0.6045.105 (r1204232) (#11287)
Co-authored-by: Nikolay Vitkov <nvitkov@chromium.org>
2023-11-02 16:31:34 +01:00
Alex Rudenko
019bc82192
chore: update expected bidi errors (#11022) 2023-10-31 16:23:29 +01:00
Nikolay Vitkov
b4b6fe2702
chore: update chromium-bidi to 0.4.33 (#11284) 2023-10-31 15:29:37 +01:00
Nikolay Vitkov
0d4aab828a
chore: fix BiDi deserializer (#11264) 2023-10-30 13:02:04 +01:00
Alex Rudenko
e0a5f68378
test: unskip passing tests in Firefox (#11263) 2023-10-27 08:26:51 +00:00
Nikolay Vitkov
ab15aa5af8
ci: use the installed version rather than downloading (#11248) 2023-10-25 15:15:08 +02:00
Nikolay Vitkov
530e068b54
chore: update firefox Expectations (#11242) 2023-10-24 16:35:06 +02:00
Nikolay Vitkov
5278de9276
chore: use internal method for networkidle with BiDi (#11167) 2023-10-24 10:07:35 +02:00
Thiago Perrotta
f0af79a1d6
ci: disable device-request-prompt tests for firefox (#11236) 2023-10-24 07:44:02 +00:00
Alex Rudenko
2c0d968f41
test: fix lazy frame tests and expectations (#11218) 2023-10-23 08:02:56 +00:00
Nikolay Vitkov
9d34c09013
chore: update chromium-bidi (#11179)
Co-authored-by: Randolf <jrandolf@google.com>
2023-10-19 10:18:12 +02:00
Nikolay Vitkov
0316863391
feat: added tagged (accessible) PDFs option (#11182) 2023-10-17 16:37:07 +02:00
Thiago Perrotta
c6333cb13b
test: add an E2E test for device request prompt (#11159) 2023-10-16 13:50:54 +00:00
Nikolay Vitkov
cf06035756
chore: update chrome bidi test expectation (#11174) 2023-10-16 14:39:07 +02:00
Nikolay Vitkov
5ce3abe675
chore: use RxJS instead of waitWithTimeout (#11160) 2023-10-16 14:37:52 +02:00
Nikolay Vitkov
511614fe44
chore: enable screencast for BiDi+ (#11171) 2023-10-16 13:54:10 +02:00
Alex Rudenko
cfe4b8b0cd
ci: optimize installation tests and inspect code (#11150) 2023-10-13 10:03:14 +02:00
Alex Rudenko
3171115085
refactor: move target checks to the api surface (#11137) 2023-10-12 12:15:06 +02:00
Nikolay Vitkov
4a2a37b825
chore: add a deflake utility (#11111) 2023-10-11 19:21:50 +02:00
jrandolf
a3fce3118a
chore: add support for format and quality to BiDi (#11124) 2023-10-11 16:53:50 +00:00
browser-automation-bot
91d14c8c86
feat: roll to Chrome 118.0.5993.70 (r1192594) (#11123)
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2023-10-11 13:34:13 +02:00
Nikolay Vitkov
c8feb3e472
refactor: use RxJS for waitForTarget (#11029) 2023-10-11 08:11:22 +00:00
Alex Rudenko
8324c16348
feat: enable tab targets (#11099) 2023-10-09 13:49:27 +02:00
jrandolf
f060d467c0
feat: implement screencasting (#11084) 2023-10-06 16:50:39 +02:00
jrandolf
9c0c299f0b
chore: remove emulation from touchscreen tests (#11003) 2023-10-06 11:08:44 +02:00
jrandolf
317f82055b
fix: update file chooser events (#11057) 2023-10-06 08:28:19 +02:00
release-please[bot]
377cd83ccf
chore: release main (#11081)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-10-05 13:39:23 +00:00
Alex Rudenko
11f7c6920e
test: update Firefox BiDi expectations (#11082) 2023-10-05 15:22:06 +02:00
Alex Rudenko
28c1c2662a
test: crash mocha if unhandled errors occur (#11055) 2023-09-29 09:32:53 +00:00
Alex Rudenko
c5f2d28b76
test: move queryObjects to a CDP only tests (#11050) 2023-09-29 11:14:35 +02:00
Darío Kondratiuk
88681a8171
test: Remove invalid drag and drop test (#11054) 2023-09-28 15:25:11 +00:00
Alex Rudenko
b0d7375519
fix: remove the flag disabling bfcache (#11047) 2023-09-28 11:44:04 +02:00
dependabot[bot]
03b22ab456
chore(deps): Bump glob from 10.3.4 to 10.3.10 (#11043)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-27 12:06:48 +00:00
jrandolf
bd6c246b18
chore: add @typescript-eslint/no-import-type-side-effects (#11040) 2023-09-26 18:24:24 +02:00
Julian Descottes
48f9382d5e
test: synchronize bidi expectations changes for Bug 1756595 (#11005) 2023-09-26 15:51:33 +02:00
Alex Rudenko
e0e7e3a5df
test: move cdp only tests to a subfolder (#11033)
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
2023-09-26 10:13:22 +02:00
Alex Rudenko
52468adcff
test: test sharding for firefox (#11008)
Co-authored-by: jrandolf <101637635+jrandolf@users.noreply.github.com>
2023-09-25 12:00:09 +00:00
jrandolf
c3bd8eb878
chore: implement BiDi sendCharacter (#11000) 2023-09-22 17:22:25 +02:00
jrandolf
f21e903633
chore: remove legacy checks in keyboard tests (#10995) 2023-09-22 14:22:10 +02:00
jrandolf
4ca36454c3
chore: set allowViewportExpansion to captureBeyondViewport (#10992) 2023-09-22 13:48:01 +02:00
jrandolf
07fe42fce0
chore: create internal package for mocha-runner (#10985) 2023-09-22 10:58:14 +02:00
jrandolf
d124c83dad
chore: rename mocha-runner (#10984) 2023-09-22 10:57:18 +02:00
Alex Rudenko
18ba47e043
test: skip mouse reset tests (#10991) 2023-09-22 10:46:02 +02:00
jrandolf
464386ecf5
chore: deflake textarea test (#10983) 2023-09-21 22:50:36 +02:00
jrandolf
ecd6ac9dfa
chore: implement element screenshot (#10963) 2023-09-21 21:21:12 +02:00
Alex Rudenko
7bcdfcb7e9
fix: handle missing detach events for restored bfcache targets (#10967) 2023-09-21 11:13:12 +02:00
Alex Rudenko
9cfc195794
test: enable queryObjects for bidi (#10964) 2023-09-21 10:49:30 +02:00
jrandolf
c505c85b31
chore: fix BiDi mouse move implementation (#10956) 2023-09-20 17:58:02 +02:00
Nikolay Vitkov
7b5eabcc37
chore: BiDi setCacheEnabled (#10961) 2023-09-20 16:39:36 +02:00
Alex Rudenko
a4f13b53af
test: unskip csp tests (#10960) 2023-09-20 16:27:55 +02:00
Alex Rudenko
af42663edb
test: unskip touch tests (#10955) 2023-09-20 14:52:43 +02:00
Alex Rudenko
3f79beb71a
test: unskip aria tests (#10953) 2023-09-20 12:11:21 +00:00
jrandolf
164bdd29b0
chore: use custom disposable stack (#10943) 2023-09-19 18:13:51 +02:00
Nikolay Vitkov
825dd17d2a
chore: fix BiDi redirects (#10929) 2023-09-19 15:41:21 +02:00
jrandolf
86df093824
chore: use cross-platform clean script (#10938) 2023-09-19 12:51:09 +02:00
jrandolf
0e612ab0a4
chore: use ls and grep (#10937) 2023-09-19 11:35:00 +02:00
jrandolf
1cc13fc36a
chore: use -Xf instead of -Xdf (#10936) 2023-09-19 10:57:38 +02:00
Alex Rudenko
fe1462123d
chore: reformat expectations (#10935) 2023-09-19 10:41:56 +02:00
Julian Descottes
c49320ee87
test: upstream test and expectation for Firefox sync to puppeteer v21… (#10898) 2023-09-18 18:04:02 +02:00
jrandolf
a0e57f7eb2
fix: fix line/column number in errors (#10926) 2023-09-18 11:52:04 +02:00
jrandolf
5e9bc691ed
chore: enable dumpio test only on old headless (#10922) 2023-09-18 08:56:18 +02:00
jrandolf
09207a71b8
chore: separate code to semantic folders (#10914) 2023-09-16 22:56:40 +02:00
jrandolf
43a4ccbb7c
chore: add TypeScript compilation test (#10919) 2023-09-15 17:17:23 +02:00
jrandolf
c949656a43
chore: use @typescript-eslint/consistent-type-imports (#10913) 2023-09-15 13:00:20 +02:00
Nikolay Vitkov
e8640fff16
chore: fix bidi reload (#10911) 2023-09-14 15:40:18 +02:00
jrandolf
9342bac263
feat: implement improved Drag n' Drop APIs (#10651) 2023-09-14 11:14:30 +02:00
Nikolay Vitkov
aefbde60d7
refactor: align names (#10903) 2023-09-13 21:57:26 +02:00
Alex Rudenko
ea14834fdf
fix: handle frame manager init without unhandled rejection (#10902) 2023-09-13 17:51:58 +00:00
browser-automation-bot
4b8d20d0ed
feat: roll to Chrome 117.0.5938.62 (r1181205) (#10893)
Co-authored-by: Nikolay Vitkov <nvitkov@chromium.org>
2023-09-13 14:35:47 +00:00
jrandolf
9b6f1de8b9
feat: implement typed events (#10889) 2023-09-13 15:47:55 +02:00
release-please[bot]
29ff113ec0
chore: release main (#10890)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-09-12 20:50:13 +00:00
Nikolay Vitkov
2487486675
chore: expectations update (#10859) 2023-09-12 09:24:09 +00:00
jrandolf
253d469515
chore: implement exposeFunction (#10860) 2023-09-11 12:46:17 +02:00
jrandolf
24a357dbdb
chore: update chromium-bidi (#10862) 2023-09-08 13:51:44 +02:00
Nikolay Vitkov
06c1588016
fix: LifecycleWatcher sub frames handling (#10841) 2023-09-04 16:16:37 +02:00
Nikolay Vitkov
12bdd70651
chore: more BiDi Connection test to unit (#10839) 2023-09-04 14:06:23 +02:00
jrandolf
9a32bc1d09
chore: update dependencies (#10835) 2023-09-03 13:16:51 +02:00
jrandolf
690b1c2218
chore: use bindIsolatedHandle (#10810) 2023-09-01 15:13:29 +00:00
jrandolf
f3c7499e67
chore: refactor handles to use realms (#10830) 2023-09-01 12:12:29 +00:00
jrandolf
7e74439c51
chore: enable 'return-await` (#10832) 2023-09-01 09:49:33 +02:00
jrandolf
25db3f1188
chore: use git clean (#10828) 2023-08-31 16:58:31 +02:00
jrandolf
92f38ff5c9
chore: remove excess internal comments (#10827) 2023-08-31 16:39:58 +02:00
jrandolf
d91c3ed675
chore: implement throwIfDisposed (#10819) 2023-08-31 14:04:40 +02:00
dependabot[bot]
f4ba479292
chore(deps): Bump glob from 10.3.3 to 10.3.4 (#10820)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-31 11:01:26 +02:00
Alex Rudenko
22daf1861f
fix: make page.goBack work with bfcache in tab mode (#10818) 2023-08-30 14:28:07 +00:00
Alex Rudenko
d3b4135b46
test: fix DevTools target test (#10814) 2023-08-30 13:14:18 +02:00