Commit Graph

1601 Commits

Author SHA1 Message Date
Alex Rudenko
e4cc2f9ee9
feat: allow downloading Firefox channels other than nightly (#12051)
Co-authored-by: Nikolay Vitkov <nvitkov@chromium.org>
2024-03-13 13:44:56 +00:00
Nikolay Vitkov
40be6575ec
chore: update FF expectations (#12079) 2024-03-13 13:10:01 +01:00
Darío Kondratiuk
4f422e60a6
test: improve target.asPage tests (#12060) 2024-03-11 10:54:55 +00:00
Henrik Skupin
d89b739b5e
chore: update test expectation for "Page Page.bringToFront should work" which is now passing in Firefox (#12072) 2024-03-11 10:45:37 +00:00
Nikolay Vitkov
3ba2a89c36
chore: fix expectations (#12049) 2024-03-06 14:00:43 +01:00
Alex Rudenko
377b31a850
test: update the expectation for firefox CDP (#12047) 2024-03-06 10:39:01 +01:00
Alex Rudenko
80d336a11b
test: remove wheel expectation (#12044) 2024-03-05 10:23:14 +01:00
Maksim Sadym
43f2453823
test: fix some ff cookie tests (#12039) 2024-03-04 17:19:18 +01:00
Alex Rudenko
2ef161be3c
test: require comments on expectations (#12038) 2024-03-04 16:23:12 +01:00
Maksim Sadym
7fe22b533d
feat(webdriver): support Page.deleteCookie() for WebDriver BiDi (#12031) 2024-03-04 14:38:49 +00:00
Nikolay Vitkov
7284576690
chore: enable test for ff (#12037) 2024-03-04 12:02:43 +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
11a6d7e58d
test: improve handling of browser context on error (#12020) 2024-02-29 09:51:52 +00:00
Alex Rudenko
5ebcb9db14
test: update expectations (#12023) 2024-02-29 09:27:19 +01:00
Nikolay Vitkov
acb6f83ab0
test: remove isHeadless check (#12015) 2024-02-28 16:45:11 +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
Alex Rudenko
1051fb6d2c
test: skip proxy tests for Firefox (#12011) 2024-02-28 08:11:55 +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
627bd00399
chore: implement removeExposedFunction (#11984) 2024-02-26 11:42:51 +01: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
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
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
Alex Rudenko
e35aff81e2
test: remove redundant expectations (#11932) 2024-02-16 10:40:08 +00:00
Alex Rudenko
aef584c815
test: do not use quirks mode for test files (#11930) 2024-02-16 08:14:17 +00:00
Alex Rudenko
eea588419d
test: enable cookie tests for Firefox (#11931) 2024-02-16 07:57:36 +00:00
Alex Rudenko
472ec75806
test: enable skipped tests (#11869) 2024-02-15 14:22:23 +01:00
Alex Rudenko
5721e66cb9
build: auto-remove duplicate expectations (#11922) 2024-02-15 10:57:06 +01:00
jrandolf
f1e3c5b3db
chore: update expectations (#11921) 2024-02-15 09:39:44 +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
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