Commit Graph

1568 Commits

Author SHA1 Message Date
Alex Rudenko
58e7e4fcef
test: implement workarounds for current state of WebDriver BiDi (#11911)
Co-authored-by: jrandolf <101637635+jrandolf@users.noreply.github.com>
2024-02-14 18:43:02 +01:00
jrandolf
9193832a2b
chore: add test for remote value console logs (#11910) 2024-02-13 16:04:59 +00:00
jrandolf
d14c47097d
chore: implement BiDi workers (#11909) 2024-02-13 16:09:33 +01:00
Alex Rudenko
1bdae40ec8
feat: support closing workers (#11870) 2024-02-13 13:40:59 +01:00
dependabot[bot]
9d3e76a0b9
chore(deps): Bump the dependencies group with 2 updates (#11899)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-12 20:08:29 +01:00
jrandolf
e9f9f4c356
refactor: adopt the rest of bidi/core (#11836) 2024-02-12 16:28:21 +00:00
Julian Descottes
f31be36660
test: update expectations for aborted request test (#11867) 2024-02-12 13:33:57 +00:00
dependabot[bot]
97824e2de9
chore(deps): Bump the dependencies group with 4 updates (#11885)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-12 09:57:24 +00:00
jrandolf
8a9fb1051a
chore: remove Page.prototype.target from WebDriver BiDi (#11873) 2024-02-08 13:08:02 +00:00
jrandolf
15c986c2bc
fix: deprecate Page.prototype.target (#11872) 2024-02-08 12:56:58 +00:00
Nikolay Vitkov
86c3988e26
test: remove Buffer.concat overwrite (#11876) 2024-02-08 11:00:37 +00:00
Julian Descottes
3b43b1fa07
test: update user context tests checking the number of user contexts (#11877) 2024-02-08 11:52:05 +01:00
Julian Descottes
4b52841979
test: update expectations for user context tests with Firefox (#11874) 2024-02-08 10:26:10 +00:00
Alex Rudenko
4227be34c0
test: fix leaky newPage calls (#11868) 2024-02-07 11:15:36 +00:00
Nikolay Vitkov
7d1541de68
chore: move screencast test to CDP and skip for Firefox (#11859) 2024-02-07 10:36:42 +00:00
Nikolay Vitkov
8bd1a53697
chore: fix debug info message in test (#11864) 2024-02-07 10:38:06 +01:00
Alex Rudenko
85d97b0cc7
test: make debug info test less flaky (#11861) 2024-02-07 09:10:31 +00:00
Alex Rudenko
4d3fb8f487
test: disable flaky tests (#11860) 2024-02-07 08:56:14 +00:00
jrandolf
bf03e70e67
chore: disable flaky tests (#11853) 2024-02-06 17:24:49 +01:00
Alex Rudenko
c5cee0e37d
fix: frameElement should work for framesets (#11842) 2024-02-06 12:13:06 +00:00
Alex Rudenko
8d7d9f1f05
test: rework test expectations (#11824) 2024-02-05 11:04:41 +00:00
Alex Rudenko
46a3ef2681
refactor!: rename createIncognitoBrowserContext to createBrowserContext (#11834) 2024-02-05 10:43:37 +01:00
Nikolay Vitkov
b2c69fe5bd
build: fix EsLint rule and add fixer (#11826) 2024-02-05 10:26:37 +01:00
Henrik Skupin
197f00547e
test: replace usages of webkit-scrollbar with scrollbar-width (#11825) 2024-02-02 17:25:17 +01:00
Alex Rudenko
6514accb26
test: fix pdf tests (#11822) 2024-02-02 13:09:12 +00:00
Alex Rudenko
75c9e117f1
refactor!: enable the new-headless mode by default (#11815) 2024-02-02 13:25:43 +01:00
Nikolay Vitkov
84d9a94d62
refactor!: use ReadableStreams (#11805) 2024-02-02 13:25:02 +01:00
Alex Rudenko
d4e9d8d591
fix!: make console warn level compatible with WebDriver BiDi (#11790) 2024-02-02 13:22:07 +01:00
Nikolay Vitkov
53c9134809
refactor!: remove $x and waitForXpath (#11782) 2024-02-02 13:18:43 +01:00
Nikolay Vitkov
1900fa9418
refactor!: remove waitForTimeout (#11780) 2024-02-02 13:17:24 +01:00
Alex Rudenko
4fc14026e9
feat!: generate accessible PDFs by default (#11778) 2024-02-02 13:17:06 +01:00
Alex Rudenko
4677281877
feat!: remove PUPPETEER_DOWNLOAD_PATH in favor of PUPPETEER_CACHE_DIR (#11605) 2024-02-02 13:14:38 +01:00
Maksim Sadym
9cb1fde589
feat!: BiDi cookies (#11532)
Co-authored-by: Maksim Sadym <sadym@google.com>
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
2024-02-02 13:13:00 +01:00
Alex Rudenko
ef0d4419ba
test: clean up expectations (#11814) 2024-02-02 10:50:12 +00:00
Alex Rudenko
55036e0007
test: disable failing Firefox tests (#11812) 2024-02-02 10:26:57 +01:00
Maksim Sadym
6f00f3bfed
test: mark flaky test (#11799) 2024-01-31 15:58:31 +00:00
Nikolay Vitkov
67d6e89021
chore: small fixes (#11797) 2024-01-31 16:01:27 +01:00
Alex Rudenko
2930a70c88
feat(bidi): implement UserContexts (#11784) 2024-01-31 09:22:47 +01:00
Alex Rudenko
9ff6bd3805
test: disable 'should work with no default argument' fully (#11791) 2024-01-30 17:15:52 +00:00
Alex Rudenko
422b5a5b03
test: move skipped tests to expectations (#11789) 2024-01-30 17:42:49 +01:00
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