Commit Graph

380 Commits

Author SHA1 Message Date
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
jrandolf
e9f9f4c356
refactor: adopt the rest of bidi/core (#11836) 2024-02-12 16:28:21 +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
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
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
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
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
2930a70c88
feat(bidi): implement UserContexts (#11784) 2024-01-31 09:22:47 +01: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
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
Alex Rudenko
afa3fd4c34
chore: add memory debugging to mocha runner (#11722) 2024-01-23 13:26:57 +00: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
Alex Rudenko
afc9f46aa3
test: split headful spec (#11622) 2024-01-04 06:51:47 +00: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
jrandolf
af6eba4bea
chore: abstract web worker API (#11558) 2023-12-15 13:08:28 +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
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
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
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
Nikolay Vitkov
0d4aab828a
chore: fix BiDi deserializer (#11264) 2023-10-30 13:02:04 +01:00
Nikolay Vitkov
5278de9276
chore: use internal method for networkidle with BiDi (#11167) 2023-10-24 10:07:35 +02: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
5ce3abe675
chore: use RxJS instead of waitWithTimeout (#11160) 2023-10-16 14:37:52 +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
Nikolay Vitkov
c8feb3e472
refactor: use RxJS for waitForTarget (#11029) 2023-10-11 08:11:22 +00: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
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
jrandolf
bd6c246b18
chore: add @typescript-eslint/no-import-type-side-effects (#11040) 2023-09-26 18:24:24 +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
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
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
jrandolf
c505c85b31
chore: fix BiDi mouse move implementation (#10956) 2023-09-20 17:58:02 +02:00
Alex Rudenko
af42663edb
test: unskip touch tests (#10955) 2023-09-20 14:52:43 +02:00
jrandolf
164bdd29b0
chore: use custom disposable stack (#10943) 2023-09-19 18:13:51 +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
c949656a43
chore: use @typescript-eslint/consistent-type-imports (#10913) 2023-09-15 13:00:20 +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
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
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
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
92f38ff5c9
chore: remove excess internal comments (#10827) 2023-08-31 16:39:58 +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
jrandolf
900a1f227d
chore: turn on rulesdir/use-using (#10806) 2023-08-30 10:02:59 +00:00
Alex Rudenko
a540085176
feat: expose DevTools as a target (#10812) 2023-08-30 11:32:38 +02:00
Alex Rudenko
14f0ab7397
fix: apply viewport emulation to prerender targets (#10804) 2023-08-30 11:04:28 +02:00
jrandolf
2401bb46b1
chore: implement moveable (#10803) 2023-08-29 22:48:37 +02:00