Pavel Feldman
931b9f28cd
fix(codegen): attribute navigation to press/fill ( #34528 )
2025-01-28 17:59:16 -08:00
Pavel Feldman
391e9c4de0
fix(recorder): do not reset inspect highlight on inactivity ( #34526 )
2025-01-28 16:00:28 -08:00
Pavel Feldman
7fd0c3e254
fix: follow the pseudo attr value in firefox computed style ( #34525 )
2025-01-28 14:37:04 -08:00
Pavel Feldman
cea5dad686
chore: remove eslint-plugin-internal-playwright ( #34510 )
2025-01-27 20:13:27 -08:00
Pavel Feldman
bd2fdd0f20
chore: land experimental tools ( #34503 )
2025-01-27 14:49:38 -08:00
Henrik Skupin
d63907fc5b
chore(bidi): Disable some external services for Firefox ( #34492 )
2025-01-27 13:17:03 -08:00
Dmitry Gozman
640e6a8aa7
chore: remove unused headers ( #34491 )
2025-01-27 09:58:19 +00:00
Playwright Service
3d9a9d2405
feat(firefox): roll to r1472 ( #34455 )
2025-01-24 15:17:14 -08:00
Playwright Service
c815d090bc
feat(firefox-beta): roll to r1468 ( #34454 )
2025-01-24 15:16:18 -08:00
Henrik Skupin
9d91d7a1e9
chore(firefox): Don't upgrade HTTP requests to HTTPS ( #34465 )
2025-01-24 13:36:23 -08:00
Yury Semikhatsky
dcff914040
chore(bidi): make browserType.connect work ( #34461 )
2025-01-24 09:09:57 -08:00
Playwright Service
bbd55587e4
feat(chromium): roll to r1156 ( #34464 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-24 15:40:46 +01:00
Adam Gastineau
f65dc0cee4
feat: toHaveURL predicate matcher ( #34413 )
2025-01-24 06:00:17 -08:00
Pavel Feldman
039f513744
docs: auto generate evaluate usage docs ( #34458 )
2025-01-23 12:11:54 -08:00
Playwright Service
04c03b998a
feat(webkit): roll to r2125 ( #34453 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-23 18:37:42 +01:00
Playwright Service
2cf6153d9f
feat(chromium-tip-of-tree): roll to r1297 ( #34451 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-23 16:40:15 +01:00
Playwright Service
cf3bcd7d4a
feat(chromium-tip-of-tree): roll to r1296 ( #34414 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-22 08:21:47 +03:00
Dmitry Gozman
e20b6d1617
feat(chromium-tip-of-tree): roll to r1295 ( #34372 )
2025-01-20 16:28:41 +00:00
Henrik Skupin
d082805ea9
chore(bidi): disable thottling of background tabs in Firefox ( #34381 )
2025-01-17 14:29:26 -08:00
Adam Gastineau
3c160df06a
chore: mark v1.51.0-next ( #34382 )
2025-01-17 12:34:59 -08:00
Pavel Feldman
1b21ec9cd8
chore: remove --save-trace codegen option ( #34362 )
2025-01-17 10:17:49 -08:00
Dmitry Gozman
07bcbcd1b4
feat(chromium): roll to r1155 ( #34371 )
2025-01-17 10:45:58 +00:00
Yury Semikhatsky
5438814975
chore: do not fall back to previous LTS release deps for new Ubuntu LTS ( #34360 )
2025-01-16 15:20:40 -08:00
Yury Semikhatsky
587e778a5a
Revert "feat(aria): extend toHaveAccessibleName() to accept an array … ( #34361 )
2025-01-16 15:04:56 -08:00
Dmitry Gozman
be6caed8df
chore: remove expectZone ( #34312 )
2025-01-16 18:53:32 +00:00
Pavel Feldman
08af3a2f06
chore: do not cache highlight agressively ( #34349 )
2025-01-16 08:27:48 -08:00
Yury Semikhatsky
00bb17751b
chore: delete recorder in traceviewer experiment ( #34347 )
2025-01-15 17:37:33 -08:00
Yury Semikhatsky
07f425434d
chore(bidi): support ControlOrMeta key ( #34341 )
2025-01-15 13:23:44 -08:00
Yury Semikhatsky
224d7bf847
fix(docker): install gpg on slim images ( #34340 )
2025-01-15 12:03:19 -08:00
Dmitry Gozman
4d55d3039a
chore: better error message when CSS selector fails to parse ( #34331 )
2025-01-15 11:34:51 -08:00
Julian Descottes
0869195ba4
chore(bidi): Stop dividing BiDi network event timings by 1000 ( #34324 )
2025-01-14 15:27:49 -08:00
Pavel Feldman
b0f0a2951a
docs: improve aria overload docs ( #34319 )
2025-01-13 18:25:57 -08:00
Pavel Feldman
ad365c3bc3
chore: include child nodes when parsing snapshot ( #34318 )
2025-01-13 18:25:41 -08:00
Rui Figueira
9a9d22af44
feat(codegen): include framePath in jsonl format ( #34310 )
2025-01-13 17:32:26 -08:00
Playwright Service
dfe80bb888
feat(firefox): roll to r1471 ( #34309 )
2025-01-13 17:26:26 -08:00
Yury Semikhatsky
2b2e84971f
chore(bidi): use original key name when computing bidi value ( #34317 )
2025-01-13 17:22:00 -08:00
Playwright Service
d2e7ad38d5
feat(firefox-beta): roll to r1467 ( #34303 )
2025-01-13 13:58:34 -08:00
Playwright Service
6b73ec6092
feat(webkit): roll to r2123 ( #34260 )
2025-01-13 13:53:18 -08:00
Playwright Service
19c935cde7
feat(firefox): roll to r1470 ( #34304 )
2025-01-13 09:05:33 +03:00
Pavel Feldman
6179b5b1d7
chore: allow matching aria snapshot in trace viewer ( #34302 )
2025-01-11 10:14:21 -08:00
Pavel Feldman
0c8a6b80fb
chore: consolidate aria parser in isomorphic bundle ( #34298 )
2025-01-10 15:32:35 -08:00
Dmitry Gozman
f0a3a15e93
chore: explicitly reset apiZone instead of everything ( #34265 )
2025-01-10 20:15:05 +00:00
Dmitry Gozman
1f2eb499d2
fix(aria snapshots): normalize whitespace ( #34285 )
2025-01-10 19:31:47 +00:00
Julian Descottes
4f3a5e2133
chore(bidi): Fix handling of cookie headers in network.continueRequest ( #34277 )
2025-01-10 11:06:26 -08:00
Julian Descottes
ca94291ab7
chore(bidi): Handle headers properly in BiDi network.continueRequest ( #34268 )
2025-01-10 10:15:38 -08:00
Henrik Skupin
89172175d6
Improve WebDriver BiDi key codes ( #34286 )
2025-01-10 09:19:28 -08:00
Adam Gastineau
a2e2dfd446
feat: Enable snapshots for most remaining public commands ( #34072 )
2025-01-10 05:04:44 -08:00
Dmitry Gozman
b32d546159
test: attempt to unflake vscode highlight tests ( #34267 )
2025-01-10 09:52:39 +00:00
Simon Knott
75d2661497
docs: fix android launchBrowser.pkg option ( #34262 )
2025-01-10 10:51:29 +01:00
Pavel Feldman
13bdd3c92f
feat(toBeChecked): allow indeterminate expectation ( #34269 )
2025-01-09 18:18:15 -08:00
Yury Semikhatsky
37c2569eb2
fix(inspector): do not start recording by default ( #34276 )
2025-01-09 14:58:41 -08:00
Yury Semikhatsky
cd9d02faf9
chore: remove setAutoCloseAllowed ( #34273 )
2025-01-09 14:16:01 -08:00
Yury Semikhatsky
edfbab2a79
fix: dispatch touch events in webkit ( #34250 )
2025-01-08 11:06:30 -08:00
Yury Semikhatsky
6fb6282a9d
chore(bidi): propertly dispatch ControlRight key event ( #34246 )
2025-01-07 16:46:44 -08:00
Yury Semikhatsky
809225503c
docs: remove note about DataTrander limited availability ( #34243 )
2025-01-07 15:42:10 -08:00
Pavel Feldman
0d34369fc0
chore: include actual value in the elementState ( #34245 )
2025-01-07 15:31:18 -08:00
Pavel Feldman
7923d35e32
fix(retarget): do not unconditionally retarget to enclosing label ( #34229 )
2025-01-07 11:15:00 -08:00
Pavel Feldman
9514f0fb9d
fix(aria): escape leading dash in property values ( #34227 )
2025-01-07 11:14:45 -08:00
Playwright Service
d2af88c1fe
feat(chromium-tip-of-tree): roll to r1293 ( #34234 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-07 21:43:05 +03:00
Dmitry Gozman
63329a3471
chore: remove dependency from library on expectZone, straighten csi handling ( #34211 )
2025-01-07 13:30:04 +00:00
Yury Semikhatsky
a9e6b51108
chore(bidi): implement query selector all ($$) method ( #34226 )
2025-01-06 16:37:11 -08:00
Yury Semikhatsky
5a22475ea8
chore(bidi): fix signals tests ( #34209 )
2025-01-03 12:37:28 -08:00
Yury Semikhatsky
8b45ea6f2f
chore: properly initialize Touch arguments in TouchEvent ( #34200 )
2025-01-03 12:16:01 -08:00
Yury Semikhatsky
dca95ba609
fix(bidi): set initial frame url from creation event ( #34198 )
2025-01-03 10:39:32 -08:00
Simon Knott
6bdd2694ee
feat(webserver): customize shutdown with new `gracefulShutdown` option ( #34130 )
...
Signed-off-by: Simon Knott <info@simonknott.de>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2025-01-03 11:34:34 +01:00
Playwright Service
546b7b702c
feat(webkit): roll to r2122 ( #34180 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-02 06:16:46 +01:00
Playwright Service
da52befea0
feat(chromium-tip-of-tree): roll to r1291 ( #34182 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-02 06:16:04 +01:00
Max Schmitt
b2cbe7f2ec
chore(roll): roll WebKit to r2121 ( #34179 )
2024-12-31 11:22:10 +01:00
Dmitry Gozman
9dbe63636d
fix(routeWebSocket): should work after context reuse ( #34165 )
2024-12-30 10:00:10 -08:00
Max Schmitt
4819747c85
chore: keep linting generated files ( #34150 )
2024-12-27 10:00:59 +00:00
Pengoose
7f141b2c42
feat: expect(locator).toHaveAccessibleErrorMessage ( #33904 )
2024-12-27 09:54:16 +00:00
Playwright Service
3ec8ee7a9b
feat(chromium): roll to r1153 ( #34118 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-27 08:51:06 +01:00
Playwright Service
08644003d2
feat(chromium-tip-of-tree): roll to r1290 ( #34144 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-26 22:27:56 +01:00
Evan Cahill
c89e213eff
docs: Use locator.first() in locator.or examples ( #34106 )
2024-12-20 13:23:01 -08:00
Yury Semikhatsky
a74c488b25
docs: document --no-shell option ( #34120 )
2024-12-20 10:24:10 -08:00
Adam Gastineau
875436855e
chore(lint): Ensure EOL newlines ( #34117 )
2024-12-20 09:17:09 -08:00
Pavel Feldman
04e670c909
fix(locator): do not explode locators ( #34104 )
2024-12-19 15:34:54 -08:00
Max Schmitt
b7a1cfd786
chore: move winldd to CDN ( #34078 )
2024-12-19 23:29:21 +01:00
Pavel Feldman
6505a3e34c
fix(yaml): escape to disambiguate yaml arrays ( #34096 )
2024-12-19 12:46:54 -08:00
Pavel Feldman
ec1d3313c3
Revert "feat(fetch/network): add generic to json method" ( #34098 )
2024-12-19 12:46:39 -08:00
Henrik Skupin
edd789780a
WebDriver BiDi: "browsingContext.captureScreenshot" accepts quality from 0 to 1 ( #34097 )
2024-12-19 12:26:01 -08:00
Volodymyr Momot
94ffbcb9c5
feat(fetch/network): add generic to json method ( #34091 )
2024-12-19 10:36:02 -08:00
Playwright Service
9c14cccc24
feat(chromium-tip-of-tree): roll to r1288 ( #34092 )
2024-12-19 17:17:29 +01:00
Playwright Service
a239ab3048
feat(ffmpeg): roll to r1011 ( #34079 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-19 10:17:42 +01:00
Playwright Service
bddbf8950e
feat(webkit): roll to r2120 ( #34069 )
2024-12-19 00:08:27 +01:00
Rui Figueira
c2d057ba23
chore: add url option to routeFromHAR call if codegen launched with --save-har-glob ( #34048 )
2024-12-18 13:34:06 -08:00
Dmitry Gozman
d9e5ca06bf
fix(remote server): allow local paths in extension mode ( #34051 )
2024-12-18 13:32:16 -08:00
Max Schmitt
f7c99ee6e3
chore: update CDN endpoints ( #34061 )
2024-12-18 22:26:01 +01:00
Playwright Service
c9ae644e5f
feat(chromium-tip-of-tree): roll to r1287 ( #34057 )
2024-12-17 22:31:01 +01:00
Pavel Feldman
94d0fc780d
chore: make visible=false work ( #34040 )
2024-12-16 14:14:51 -08:00
Yury Semikhatsky
b58a4762f4
docs: improve note on `browser.close()` behavior ( #34039 )
2024-12-16 13:52:17 -08:00
Dmitry Gozman
d4b2c966cf
fix(codegen): fallback to `iframe[name/src]` when failed to generate selector ( #34030 )
2024-12-16 17:37:53 +00:00
Dmitry Gozman
f713d3adaf
chore: simplify page initialization logic across browser types ( #34002 )
2024-12-14 20:15:58 +00:00
Pavel Feldman
3a10c32d8a
chore: report highlight parse error to debug controller ( #33984 )
2024-12-13 16:10:59 -08:00
Pavel Feldman
cbc809edc7
chore: recorder toolbar polish ( #33983 )
2024-12-13 16:10:45 -08:00
Yury Semikhatsky
369f4b76b3
fix: throw an error when object reference chain is to long to serialize ( #34008 )
2024-12-13 13:38:26 -08:00
Rui Figueira
c700a8405c
feat(trace-viewer): render iframe canvas in trace viewer ( #33809 )
2024-12-13 16:28:06 +01:00
Max Schmitt
65688d623e
chore: update TypeScript to v5.7 ( #33994 )
2024-12-13 04:52:04 -08:00
Playwright Service
b0cec5b351
feat(chromium-tip-of-tree): roll to r1286 ( #33991 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-12 19:22:48 -08:00
Playwright Service
dd41930e72
feat(webkit): roll to r2119 ( #33992 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-12 19:22:27 -08:00
Yury Semikhatsky
0034c6b984
fix: parse locator with empty options ( #33990 )
2024-12-12 17:49:48 -08:00
Yury Semikhatsky
76d46d478f
fix: text-is() should ignore comments ( #33980 )
2024-12-12 17:49:31 -08:00
Max Schmitt
e4413f2089
docs: add docs for 'run-server' ( #33989 )
2024-12-12 16:23:13 -08:00
Max Schmitt
16a1552e74
chore: remove 'npx playwright debug' ( #33987 )
2024-12-12 15:25:13 -08:00
Max Schmitt
38758c0596
chore: tidy up headless-shell hacks ( #33967 )
2024-12-12 12:23:03 -08:00
Jozef Izso
a4add6ebaf
Fix typo in `AndroidServerLauncherImpl` class when on device was found ( #33973 )
2024-12-12 11:12:58 -08:00
Max Schmitt
aca00a4ab0
chore: update README/device descriptors after roll ( #33982 )
2024-12-12 11:06:14 -08:00
Playwright Service
fc9f5a6f28
feat(chromium): roll to r1152 ( #33977 )
2024-12-12 09:04:17 -08:00
Pavel Feldman
29fd2df124
chore: send aria snapshot to the debug controller ( #33969 )
2024-12-12 08:21:53 -08:00
Pavel Feldman
0e2b984287
chore: prioritize role over label and placeholder ( #33970 )
2024-12-12 08:21:00 -08:00
Max Schmitt
e3629dc1df
fix: validate ffmpeg on context creation ( #33903 )
2024-12-11 23:07:03 -08:00
Max Schmitt
081f455ee9
fix: headless-shell follow-up ( #33968 )
2024-12-11 19:28:39 -08:00
Max Schmitt
8d57b7543e
chore: introduce chromium-tip-of-tree-headless-shell ( #33964 )
2024-12-11 18:11:33 -08:00
Max Schmitt
217a0e9003
chore: bump https/socks proxy-agent ( #33965 )
2024-12-11 17:52:52 -08:00
Yury Semikhatsky
9e683d798f
docs: clarify setDefaultTimeout with 0 value ( #33959 )
2024-12-11 13:06:37 -08:00
Playwright Service
5a1bae0f19
feat(chromium-tip-of-tree): roll to r1285 ( #33945 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-11 10:30:17 -08:00
Simon Knott
ed2be67e47
chore(trace viewer): support HMR ( #33609 )
2024-12-11 13:25:52 +01:00
Pavel Feldman
4bcf505e19
chore: prefer generating role with text to css with text ( #33942 )
2024-12-10 16:03:33 -08:00
Playwright Service
4745f64bc0
feat(webkit): roll to r2118 ( #33938 )
2024-12-10 14:29:30 -08:00
Pavel Feldman
acf1107220
chore: ignore checkbox/radio value in aria ( #33941 )
2024-12-10 14:04:18 -08:00
Yury Semikhatsky
54c595c7ed
docs: add examples for clock.install() followed by pauseAt() ( #33937 )
2024-12-10 11:50:51 -08:00
Pavel Feldman
a25bda6950
chore: allow storing aria snapshots in files ( #33919 )
2024-12-10 11:45:16 -08:00
jinohkang-theori
27060a0f65
fix(connect): disable context takeover in websocket transport ( #33811 )
2024-12-09 18:07:00 -08:00
Playwright Service
dfa24462db
feat(webkit): roll to r2117 ( #33902 )
2024-12-06 16:43:25 -08:00
Playwright Service
2a1a9c9452
feat(webkit): roll to r2116 ( #33897 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-06 15:38:51 -08:00
Simon Knott
4914f34a83
fix(recorder): allow clearing when recording is disabled ( #33821 )
2024-12-06 10:17:06 -08:00
Yury Semikhatsky
733f9a2926
chore: pdf generation now works in headed mode too ( #33879 )
2024-12-05 17:53:31 -08:00
Simon Knott
993546c1bc
chore: r1284 fixup ( #33883 )
2024-12-05 16:22:52 -08:00
Playwright Service
ee8208beda
feat(chromium-tip-of-tree): roll to r1284 ( #33876 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-05 09:34:30 -08:00
Playwright Service
b86725bb98
feat(chromium): roll to r1151 ( #33873 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-05 09:34:16 -08:00
Dmitry Gozman
be78e9e11f
fix: do not stall waiting for pending navigations after beforeunload dismiss ( #33834 )
2024-12-03 15:55:45 -08:00
Playwright Service
abf6916909
feat(webkit): roll to r2113 ( #33807 )
2024-12-03 10:05:51 -08:00
Dmitry Gozman
a7f2868594
fix(codegen): do not reset current tool upon clearing highlight ( #33822 )
2024-12-03 09:25:14 -08:00
Playwright Service
e4211ee3ac
feat(chromium-tip-of-tree): roll to r1283 ( #33845 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-03 07:14:05 -08:00
Dmitry Gozman
4e33ade287
docs: fix codegen --viewport option examples ( #33816 )
2024-11-29 06:13:53 -08:00
Playwright Service
fd25f3ab85
feat(chromium-tip-of-tree): roll to r1282 ( #33798 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-28 14:43:45 +01:00
Dmitry Gozman
a84488edaa
fix(aria): escape even more yaml ( #33793 )
2024-11-28 03:21:52 -08:00
Playwright Service
ff6c283af5
feat(webkit): roll to r2112 ( #33778 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-27 16:53:22 +01:00
Playwright Service
b9c923f87c
feat(chromium-tip-of-tree): roll to r1281 ( #33769 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-26 14:26:35 +01:00
Playwright Service
3fd5174b9f
feat(webkit): roll to r2111 ( #33759 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-25 22:35:34 +01:00
Pavel Feldman
35dd3dd104
chore: use diff for snapshot delta ( #33739 )
2024-11-23 11:39:04 -08:00
Pavel Feldman
66d9f3acbe
chore: introduce update-snapshots=changed ( #33735 )
2024-11-22 17:41:31 -08:00
Yury Semikhatsky
66f709663e
fix(webkit): do not auto play audio without user gesture ( #33734 )
2024-11-22 14:53:29 -08:00
Dmitry Gozman
4696dd8682
fix(chromium): race between oopif attach and context clear ( #33729 )
2024-11-22 09:35:35 -08:00
Dmitry Gozman
7e09aa07de
feat(trace): preserve the open state of popovers ( #33728 )
2024-11-22 09:35:19 -08:00
Dmitry Gozman
f123f7ac69
fix: isEditable/toBeEditable throw for elements that cannot be editable/readonly ( #33713 )
2024-11-22 03:40:43 -08:00
Playwright Service
b32fdade16
feat(chromium): roll to r1150 ( #33718 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-22 12:05:16 +01:00
Max Schmitt
5da0b94357
feat(webkit): roll to r2108 ( #33710 )
...
Co-authored-by: Yury Semikhatsky <yurys@chromium.org>
2024-11-21 14:42:21 -08:00
Playwright Service
c2a8375ef2
feat(chromium-tip-of-tree): roll to r1280 ( #33719 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-21 22:36:39 +01:00
Max Schmitt
77d82b8b07
chore: remove dead code in urlMatches ( #33714 )
2024-11-21 15:53:28 +01:00
Dmitry Gozman
94776ad18a
docs: note that permissions list may change ( #33690 )
2024-11-20 06:08:34 -08:00
Josh Kelley
1afb56ee1b
docs: add docs for 1.49.0's new "chromium" option ( #33680 )
2024-11-20 01:19:39 -08:00
Pavel Feldman
b40889d1a8
chore: escape more yaml values ( #33686 )
2024-11-19 17:09:49 -08:00
Playwright Service
aa0ac04d06
feat(webkit): roll to r2105 ( #33679 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-19 17:56:50 +01:00
Playwright Service
4d4fa69a0a
feat(chromium-tip-of-tree): roll to r1279 ( #33676 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-19 16:49:59 +01:00
Simon Knott
8c1002a98b
fix(sw): fix UI mode on codespaces by not passing `server` ( #33664 )
2024-11-19 16:39:47 +01:00
Dmitry Gozman
6e19bc341f
fix(role): ignore invalid `aria-labelledby` attributes ( #33667 )
2024-11-19 03:56:16 -08:00
Max Schmitt
ecf6f27159
fix: dark-mode in UI Mode ( #33662 )
2024-11-19 10:29:05 +01:00
Yury Semikhatsky
6d71805f4a
fix: do not send favicon request to network when interception is on ( #33639 )
2024-11-18 11:01:39 -08:00
Max Schmitt
150092438f
chore(recorder): support HMR ( #33637 )
2024-11-18 18:23:29 +01:00
Max Schmitt
72c532846f
chore(roll): roll Firefox Beta to r1466 ( #33653 )
2024-11-18 16:56:49 +01:00
aairiian
7f054ef8c6
feat(aria): extend toHaveAccessibleName() to accept an array of expected accessible names ( #33277 )
2024-11-18 07:46:47 -08:00
Simon Knott
5e8b469c1c
fix(test): hide response.* calls from reports ( #33620 )
2024-11-18 13:59:40 +01:00
Pavel Feldman
46321e5bf2
chore: clear highlight when performing action ( #33638 )
2024-11-16 07:56:33 -08:00
Rui Figueira
c36b5a6059
fix: ensure toMatchAriaSnapshot is properly commented in javascript c… ( #33593 )
2024-11-15 14:44:27 -08:00
Pavel Feldman
d127255881
chore: add AriaSnapshot internal type ( #33631 )
2024-11-15 13:48:43 -08:00
Pavel Feldman
44cd1d03cc
chore: highlight edited locator while recording ( #33632 )
2024-11-15 13:43:00 -08:00
Max Schmitt
c81504c5d6
fix(codegen): document.documentElement is null on early navigation ( #33627 )
2024-11-15 17:14:49 +01:00
Playwright Service
b61b3a5a13
feat(chromium): roll to r1149 ( #33606 )
2024-11-14 16:39:24 +01:00
Playwright Service
5e579cc29c
feat(chromium-tip-of-tree): roll to r1278 ( #33608 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-14 16:38:56 +01:00
Max Schmitt
358fad45cd
chore: add ESRP CDN for browser downloads ( #33585 )
2024-11-14 16:19:42 +01:00
Simon Knott
445ff73c6e
chore(trace viewer): decouple test server from web server ( #33542 )
2024-11-14 15:27:33 +01:00
Simon Knott
25c039401d
fix(canvas snapshots): position mismatch in headless mode ( #33575 )
2024-11-14 15:27:09 +01:00
Dmitry Gozman
31a2b7bbdc
chore: update headless shell treatment ( #33603 )
2024-11-14 04:20:44 -08:00
Pavel Feldman
4817483ff2
chore: allow highlighting aria template from extension ( #33594 )
2024-11-13 21:33:38 -08:00
Yury Semikhatsky
a8af7cc435
chore: remove macOS <=12 checks ( #33591 )
2024-11-13 17:21:21 -08:00
Max Schmitt
cd41404b05
chore: mark v1.50.0-next ( #33572 )
2024-11-13 12:51:54 +01:00
Max Schmitt
382d98760c
chore: update WebKit version to 18.2 ( #33570 )
2024-11-13 12:33:45 +01:00
Dmitry Gozman
099dd80806
fix(recorder): align apiName with the real one ( #33567 )
2024-11-13 03:06:34 -08:00
Dmitry Gozman
f54d3f44c2
chore: download and launch chromium-headless-shell for headless chromium ( #33454 )
2024-11-13 02:52:28 -08:00
Pavel Feldman
d685763c49
chore: use diff instead of diffmatchpatch ( #33550 )
2024-11-12 14:46:29 -08:00
Playwright Service
55b81a83e8
feat(chromium-tip-of-tree): roll to r1277 ( #33555 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-12 13:55:12 +01:00
Dmitry Gozman
33f9c8279c
chore: more aria snapshot fixes ( #33534 )
2024-11-12 02:26:54 -08:00
Max Schmitt
d8a98a2bf5
test: fix flaky page.pause() tests end up stalling ( #33544 )
2024-11-11 22:19:58 +01:00
Yury Semikhatsky
e691ca7fbf
fix(codegen): generate routeFromHAR for --save-har option ( #33480 )
2024-11-11 11:59:20 -08:00
Pavel Feldman
503f74da90
chore: allow editing aria template in recorder (tests) ( #33522 )
2024-11-08 17:18:51 -08:00
Dmitry Gozman
c29f573243
fix(aria snapshot): assorted fixes ( #33512 )
2024-11-08 10:25:05 -08:00
Pavel Feldman
b021b58379
chore: allow editing aria template in recorder ( #33482 )
2024-11-08 07:43:01 -08:00
Dmitry Gozman
d561ba7b86
fix(chromium-headless-shell): fallback to chromium when running headed ( #33490 )
2024-11-08 07:04:41 -08:00
Playwright Service
93b7b6e279
feat(webkit): roll to r2104 ( #33500 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-08 13:23:20 +01:00
Playwright Service
7073f80879
feat(chromium-tip-of-tree): roll to r1276 ( #33494 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-07 16:43:58 +01:00
Playwright Service
910ecdf556
feat(chromium): roll to r1148 ( #33491 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-07 14:51:33 +01:00
Dmitry Gozman
67e8defbe9
docs: update tracing.group docs ( #33487 )
2024-11-07 03:57:18 -08:00
Dmitry Gozman
43e4ba9f2f
fix(click): better compensate for integer click coordinates in firefox ( #33467 )
2024-11-07 00:01:00 -08:00
Yury Semikhatsky
50775698ae
fix: parent step for API calls inside waitForEvent callback ( #33409 )
2024-11-06 17:35:16 -08:00
Simon Knott
8c4738ab1a
Revert "chore(trace viewer): always format trace location as URL, not file path" ( #33476 )
2024-11-06 17:17:59 +01:00
Pavel Feldman
d4ad520a9b
chore: fix more aria escaping edge cases ( #33460 )
2024-11-05 16:22:02 -08:00
Pavel Feldman
a655b0bfb3
chrome: aria api review ( #33458 )
2024-11-05 15:23:38 -08:00
Dmitry Gozman
697d7a40b1
fix(routeWebSocket): make it work with http(s) baseURL ( #33457 )
2024-11-05 11:46:05 -08:00
Max Schmitt
1003f3429c
chore: roll chromium-headless-shell to r1147 ( #33455 )
2024-11-05 15:19:39 +01:00
Dmitry Gozman
9b2ca93a50
chore: followup to tracing.group ( #33450 )
2024-11-05 04:45:54 -08:00
Playwright Service
96a7f49b72
feat(chromium-tip-of-tree): roll to r1275 ( #33451 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-05 13:30:24 +01:00
René
fa10bcd5a3
feat(tracing) Adding groups to trace via pw-api ( #33081 )
...
Signed-off-by: René <snooz@posteo.de>
Signed-off-by: René <41592183+Snooz82@users.noreply.github.com>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2024-11-05 03:45:37 -08:00
Playwright Service
da4614ea7c
feat(firefox): roll to r1466 ( #33448 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-05 11:56:03 +01:00
Max Schmitt
9a668aeab3
fix(websocket): pass through underlying WebSocket protocol ( #33446 )
2024-11-05 11:13:33 +01:00
Max Schmitt
ba6386e0ae
fix(download): fix second browser download of channels ( #33429 )
2024-11-05 10:34:00 +01:00
Yury Semikhatsky
513c57536a
chore: relax checks when installing channels on unsupported platforms ( #33436 )
2024-11-04 16:53:13 -08:00
Pavel Feldman
f138c30915
chore: improve aria template error reporting ( #33438 )
2024-11-04 15:33:09 -08:00
Yury Semikhatsky
36a975c30b
chore: override host platform with env variable ( #33434 )
2024-11-04 14:14:24 -08:00
Playwright Service
ab22f81922
feat(chromium): roll to r1147 ( #33430 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-04 21:38:43 +01:00
Pavel Feldman
8b49d568de
docs: start adding the aria snapshot documentation ( #33407 )
2024-11-04 10:53:46 -08:00
Playwright Service
cf137845df
feat(webkit): roll to r2103 ( #33431 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-04 19:39:18 +01:00
Simon Knott
edf1eb154d
chore(trace viewer): always format trace location as URL, not file path ( #33344 )
2024-11-04 16:25:44 +01:00
Simon Knott
b148ce1ad1
fix(debug controller): highlight selectors in iframe ( #33273 )
2024-11-04 14:41:06 +01:00
Max Schmitt
96a29b69eb
feat(chromium-tip-of-tree): roll to r1274 ( #33423 )
2024-11-04 14:23:17 +01:00
Dmitry Gozman
82f6c15e6a
feat(chromium): switch to headless=new by default ( #33262 )
...
Co-authored-by: Max Schmitt <max@schmitt.mx>
2024-11-04 12:56:00 +01:00
Playwright Service
abcd1ff201
feat(webkit): roll to r2102 ( #33408 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-02 01:10:15 +01:00
Pavel Feldman
1d4650cea2
chore(snapshot): support aria-owns ( #33404 )
2024-11-01 15:25:38 -07:00
Playwright Service
3cd753f6bb
feat(webkit): roll to r2101 ( #33401 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-01 21:43:33 +01:00
Pavel Feldman
c76f004ec3
chore: move compress call log to server ( #33399 )
2024-11-01 13:38:01 -07:00
Playwright Service
18453f3889
feat(webkit): roll to r2100 ( #33395 )
2024-11-01 17:45:58 +01:00
Pavel Feldman
26c2049d5a
chore: treat input value as text in templates ( #33388 )
2024-10-31 20:41:52 -07:00
Pavel Feldman
135ed28740
chore: more yaml escaping tests ( #33387 )
2024-10-31 17:14:11 -07:00
Playwright Service
dcf85edcb7
feat(chromium): roll to r1146 ( #33380 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-01 00:50:09 +01:00
Playwright Service
69404561f9
feat(webkit): roll to r2099 ( #33385 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-31 21:34:01 +01:00
Pavel Feldman
a2e901e080
chore: generate aria name regex when possible ( #33373 )
2024-10-31 11:25:38 -07:00
Pavel Feldman
676f014b5f
chore: use objects for string aria template notes ( #33371 )
2024-10-30 17:25:51 -07:00
Playwright Service
81e7d9fa25
feat(webkit): roll to r2098 ( #33366 )
2024-10-30 21:55:44 +01:00
Max Schmitt
1342e7f6b6
Revert "chore: add Devuan OS fallback to Debian ( #32990 )" ( #33365 )
2024-10-30 21:28:16 +01:00
Max Schmitt
512645463e
test: rebase headless-shell/--headless=new/Edge tests ( #33350 )
2024-10-30 15:12:05 +01:00
Pavel Feldman
9ce401d44a
chore: suggest aria snapshots w/ regex ( #33334 )
2024-10-29 16:19:08 -07:00
Simon Knott
0221f15f4f
chore(control-or-meta): mention in docs ( #33338 )
2024-10-29 10:07:59 +01:00
Playwright Service
0df801d632
feat(webkit): roll to r2097 ( #33336 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-29 06:59:12 +01:00
Max Schmitt
5c0fdfed50
chore: throw when using headless-shell with headed mode ( #33292 )
2024-10-28 22:33:21 +01:00
Pavel Feldman
74e5e5560f
chore: update missing snapshots by default ( #33311 )
2024-10-25 16:13:38 -07:00
Yury Semikhatsky
c66af9c525
chore: make expect timeout field required in the protocol ( #33309 )
2024-10-25 15:26:41 -07:00
Yury Semikhatsky
1e8884621a
chore: unify toHaveScreenshot error formatting ( #33300 )
2024-10-25 12:36:39 -07:00
Yury Semikhatsky
f98531baee
chore: remove check for node < 16 ( #33301 )
2024-10-25 10:33:43 -07:00
Pavel Feldman
9707e97867
chore: revert #33228 - it needs a proper review ( #33284 )
2024-10-25 09:36:03 +02:00
Pavel Feldman
ff5f1628dc
chore: allow aria snapshot rebaselines ( #33256 )
2024-10-24 16:49:10 -07:00
Max Schmitt
a2dec8da63
fix(codegen): SIGINT handling was leading to zombie processes ( #33269 )
2024-10-24 19:23:19 +02:00
Playwright Service
0509eca9b6
feat(chromium): roll to r1145 ( #33274 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-24 17:47:34 +02:00
Simon Knott
3641e5984f
chore: HMR for Trace Viewer ( #33228 )
2024-10-24 14:34:59 +02:00
Simon Knott
69f56b9f63
fix(locator generator): handle `frameLocator()` and `locator().contentFrame()` ( #33208 )
2024-10-24 10:52:54 +02:00
Pavel Feldman
9a0a6cec10
chore: remove the leaf node notion ( #33249 )
2024-10-23 17:34:21 -07:00
Pavel Feldman
24cafbc8cb
chore: use diff_match_patch with types ( #33254 )
2024-10-23 16:04:37 -07:00
Dmitry Gozman
993a6b2a2a
fix(recorder): do not leak when instantiated in snapshots ( #33240 )
2024-10-23 10:24:53 -07:00
Max Schmitt
f1f2a7b33a
chore: warn when browser with revision override is getting installed ( #33226 )
2024-10-23 18:14:55 +02:00
Pavel Feldman
6bfdad068c
chore: introduce accessibility tab in recorder ( #33235 )
2024-10-22 16:36:03 -07:00
Max Schmitt
6800fd45a2
feat(webkit): roll to r2095 ( #33229 )
2024-10-22 22:30:54 +02:00
Max Schmitt
29ca54eb38
chore: add headless shell builds ( #33222 )
2024-10-22 15:47:50 +02:00
Playwright Service
c8431ca122
feat(chromium-tip-of-tree): roll to r1271 ( #33224 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-22 15:47:17 +02:00
Simon Knott
ef84051c91
feat(tracing): clip `canvas` contents from screenshots ( #33119 )
2024-10-22 14:12:25 +02:00
Rui Figueira
b194d6a1e9
fix(recorder): fix recorder injected icons ( #33198 )
2024-10-22 12:44:18 +02:00
Max Schmitt
b275c19612
chore: update eslintignore to lint files in utils/ folders ( #33218 )
2024-10-22 11:52:20 +02:00
Pavel Feldman
2a3d67195d
chore: use aria snapshots in some ui mode tests ( #33212 )
2024-10-21 21:54:06 -07:00
Playwright Service
014577d345
feat(webkit): roll to r2094 ( #33188 )
2024-10-21 11:33:16 +02:00
Simon Knott
40d5a1cb4a
fix(ff): resource type for image sets should be `image` ( #33195 )
2024-10-21 11:14:48 +02:00
Pavel Feldman
97d26e8166
chore: add aria attribute tests ( #33184 )
2024-10-19 14:23:08 -07:00
Pavel Feldman
64bf1bc107
chore: support basic aria attributes ( #33182 )
2024-10-18 20:18:18 -07:00
Playwright Service
02f8acce02
feat(chromium): roll to r1143 ( #33163 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-18 11:34:39 +02:00
Playwright Service
58ef9e2e5f
feat(firefox-beta): roll to r1465 ( #33170 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-18 11:34:28 +02:00
Pavel Feldman
29c84a33c3
chore: compute aria text consistently with the role accumulated text ( #33157 )
2024-10-17 17:06:18 -07:00
Pavel Feldman
94321fef1c
chore: implement locator.ariaSnapshot ( #33125 )
2024-10-15 18:47:26 -07:00
Pavel Feldman
b421bd8b0d
chore: add a basic snapshot generator test ( #33123 )
2024-10-15 15:21:45 -07:00
Pavel Feldman
4b1fbde2ad
chore: generate match snapshot ( #33105 )
2024-10-15 13:38:55 -07:00
Playwright Service
615f1dbd63
feat(chromium-tip-of-tree): roll to r1269 ( #33117 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-15 17:51:57 +02:00
Dmitry Gozman
59a50cf596
fix(chromium): disable PlzDedicatedWorker again ( #33110 )
2024-10-15 02:13:19 -07:00
Dmitry Gozman
17837e564d
fix(routeWebSocket): make sure ws url without trailing slash is supported ( #33095 )
2024-10-15 02:08:27 -07:00
Dmitry Gozman
8a275e5a5b
docs: improve docs for WebSocketRoute ( #33097 )
2024-10-15 02:07:03 -07:00
Pavel Feldman
2c05d294a8
chore: fix webkit visibility check in aria matcher ( #33102 )
2024-10-14 15:55:21 -07:00
Pavel Feldman
a38ff6e0d8
chore: experimental toMatchAriaSnapshot ( #33014 )
2024-10-14 14:07:19 -07:00
Pavel Feldman
6cfcbe0d6d
chore: fix codegen selector while debugging ( #33099 )
...
Fixes #33052
2024-10-14 14:04:24 -07:00
Yury Semikhatsky
f8806d253d
chore(bidi): remove assertion from response dispatch ( #33100 )
...
After the context has been disposed we can't route any callbacks to it
because
it is not in the map, so the assertion doesn't make sense as it always
ends up in
the top level session.
Fixes the following error:
```
pw:browser <closing ws> Closing websocket due to failed onmessage callback. eventData={"type":"success","id":32,"result":{}} e=Assertion error Error: Assertion error
pw:browser at assert (/home/yurys/playwright/packages/playwright-core/src/utils/debug.ts:21:11)
pw:browser at BidiSession.dispatchMessage (/home/yurys/playwright/packages/playwright-core/src/server/bidi/bidiConnection.ts:229:13)
pw:browser at BidiConnection.call [as _dispatchMessage] (/home/yurys/playwright/packages/playwright-core/src/server/bidi/bidiConnection.ts:93:25)
```
2024-10-14 13:25:30 -07:00
Playwright Service
c7fbeddaf4
feat(webkit): roll to r2092 ( #33078 )
2024-10-14 22:21:49 +02:00
Simon Knott
a8df750a48
fix(har): account for reused sockets ( #33087 )
...
Closes https://github.com/microsoft/playwright/issues/32960
If the socket is reused, the connect and DNS timings are set to -1,
because that timing doesn't apply to the current request. The time
between request start and the socket being free is counted as `blocked`.
2024-10-14 17:22:29 +02:00
Fumiaki MATSUSHIMA
0a63427c77
fix(codegen): fix unselect issue ( #33076 )
2024-10-13 13:16:01 +02:00
Playwright Service
699f51b227
feat(webkit): roll to r2091 ( #33070 )
2024-10-11 17:18:06 -07:00
Playwright Service
e4b0d5e6dd
feat(chromium): roll to r1142 ( #33062 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-11 16:33:59 +02:00
Max Schmitt
87624c5434
Revert "fix(codegen): fix unselect issue ( #32127 )" ( #33065 )
...
This reverts commit 5121b19ac6
.
The tree is red and fixing seems non-trivial.
Closes https://github.com/microsoft/playwright/issues/33064
Closes https://github.com/microsoft/playwright/pull/33060
2024-10-11 16:33:17 +02:00
Yury Semikhatsky
b9cce598dd
fix(screenshot): show image diff inline in errors list ( #32997 )
...
The diff is now shown inline in the errors list.
There are 2 possible failures of toHaveScreenshot
* Previous and actual snapshot mismatch. In this case html report will
show diff between Actual/Previous and have Expected as a separate
screenshot.
* Actual/Previous are equal but they differ from the expected. In this
case html report only contains Actual/Expected images and the diff.
Reference: https://github.com/microsoft/playwright/issues/32341
<img width="1039" alt="image"
src="https://github.com/user-attachments/assets/b458f986-cc25-4721-862c-0cc2c1b01a42 ">
2024-10-10 16:49:17 -07:00
Playwright Service
10a9e1c730
feat(webkit): roll to r2090 ( #33050 )
2024-10-11 00:08:03 +02:00
Yury Semikhatsky
82fe882004
fix(webkit): scroll mobile page with background-attachment: fixed ( #33048 )
...
Fixes #31551
Fixes #23573
2024-10-10 14:32:27 -07:00
Playwright Service
7de084b6dc
feat(chromium-tip-of-tree): roll to r1268 ( #33042 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-10 16:32:00 +02:00
Playwright Service
217b57df4c
feat(webkit): roll to r2089 ( #33039 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-10 13:10:54 +02:00
Playwright Service
bc30cc795e
feat(chromium): roll to r1141 ( #33027 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-09 14:55:37 +02:00
Fumiaki MATSUSHIMA
5121b19ac6
fix(codegen): fix unselect issue ( #32127 )
...
Fixes https://github.com/microsoft/playwright/issues/31290
2024-10-08 11:38:52 -07:00
Simon Knott
042161e1ce
Reapply "fix(har timing): record connect timing for proxied connections" ( #32855 ) ( #33003 )
...
This reapplies what we reverted in
https://github.com/microsoft/playwright/pull/32989 .
Max and me debugged this, and found that the test failures come from
SOCKS proxy now preferring IPv6 over IPv4. We've updated the tests and
made sure that this doesn't mask any breaking change.
I'm enabling CQ1 to make sure we don't oversee any other CI failures.
2024-10-08 14:17:50 +02:00
Playwright Service
992994f036
feat(chromium-tip-of-tree): roll to r1267 ( #33007 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-08 14:13:45 +02:00
Dmitry Gozman
0f2cbdedac
fix(routeWebSocket): do not show in the trace ( #32991 )
2024-10-08 02:47:24 -07:00
Simon Knott
1b589c4bd3
Revert "fix(har timing): record `connect` timing for proxied connections" ( #32989 )
...
Reverts microsoft/playwright#32855 . This broke two tests on main, and we
don't yet know how to fix it other than downgrading.
2024-10-08 10:13:21 +02:00
Pavel Feldman
7047c3a6c6
fix(codegen): do not codegen non-existing fixtures ( #32993 )
...
Closes https://github.com/microsoft/playwright/issues/32981
2024-10-07 17:12:36 -07:00
Aaron Sherwood
4d13677ebd
chore: add Devuan OS fallback to Debian ( #32990 )
2024-10-07 23:24:18 +02:00
Yury Semikhatsky
4fe33db392
docs(route): header override propagation ( #32971 )
...
Fix https://github.com/microsoft/playwright/issues/32939
2024-10-07 13:52:55 -07:00
Simon Knott
9a6f03eb87
fix(fetch): listener leaks on Socket ( #32956 )
...
Closes https://github.com/microsoft/playwright/issues/32951
`node:http` reuses TCP Sockets under the hood. We weren't cleaning up
our listeners, leading to the `MaxListenersExceededWarning`.
This PR adds cleanup logic. It also raises the warning threshhold, so
that it doesn't trigger until there's 100 concurrent requests over the
same socket.
2024-10-07 18:43:25 +02:00
Simon Knott
d3fbf1aaeb
fix(clock): amend setSystemTime docs ( #32901 )
...
As discussed yesterday over
https://github.com/microsoft/playwright/issues/32807 . Adds some words to
differentiate `setSystemTime` from `setFixedTime`.
---------
Signed-off-by: Simon Knott <info@simonknott.de>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2024-10-07 12:12:12 +02:00
Simon Knott
de4a4d1ce1
fix(har timing): record `connect` timing for proxied connections ( #32855 )
...
Fixes a bug discovered in
https://github.com/microsoft/playwright/pull/32647 . When using http
proxy, the `connect` event isn't emitted so we don't populate
`tcpConnectionAt`. The updated version of `https-proxy-agent` emits a
`proxyConnect` as a replacement, so this PR updates and listens to that
event.
For socks proxies, the `on("socket")` event is emitted once the SOCKS
connection is established, which is the equivalent of having a TCP
connection available.
---------
Signed-off-by: Simon Knott <info@simonknott.de>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2024-10-07 09:59:13 +02:00
Dmitry Gozman
9f842da8b3
fix: throw when element handle is detached while waiting for selector ( #32961 )
2024-10-04 08:23:25 -07:00
Simon Knott
40670e6ffd
fix(emulate media): document "no-preference" as deprecated ( #32881 )
...
Closes https://github.com/microsoft/playwright/issues/32862 .
`prefers-color-scheme: no-preference` was removed from browsers. This PR
marks it as deprecated in our docs and removes all mentions.
---------
Signed-off-by: Simon Knott <info@simonknott.de>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2024-10-04 16:49:32 +02:00
Dmitry Gozman
84b4fd4e40
feat: wait for pending navigation to resolve before many actions ( #32899 )
...
This includes all actions that perform locator handler check.
Note this makes it impossible to interact with the page while a main
frame navigation is ongoing. This was already the case for Chromium, but
now WebKit and Firefox align with it.
Setting `PLAYWRIGHT_SKIP_NAVIGATION_CHECK` environment variable disables
this behavior.
2024-10-04 07:25:18 -07:00
Dmitry Gozman
10d6812058
chore: clear `pendingDocument()` for the same-document navigation ( #32954 )
...
WebKit notifies about a pending same-document navigation through
`Page.frameScheduledNavigation`, and committing it should clear the
`pendingDocument()`.
Extracted from #32899 .
2024-10-04 04:54:56 -07:00
Playwright Service
0a45549533
feat(chromium): roll to r1140 ( #32949 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-04 11:14:08 +02:00
Dmitry Gozman
6b1d0361cd
fix(chromium): reset mouse position upon page reuse ( #32944 )
...
Similarly to Firefox, move the mouse to (-1, -1) upon page reuse. This
fixes the corresponding test on all platforms.
2024-10-03 08:09:00 -07:00
Playwright Service
076a6e84a1
feat(chromium-tip-of-tree): roll to r1266 ( #32942 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-03 16:03:30 +02:00
Dmitry Gozman
0ffac886e8
test: fix android tests ( #32932 )
...
One test is removed, since it's impossible to fix. Hopefully, the rest
will pass.
2024-10-03 03:37:43 -07:00
Dmitry Gozman
3c5967d4f5
fix(trace viewer): clear old highlighted elements upon change ( #32917 )
...
When the list of highlighted elements changes over time, we should
update the elements marked as `__playwright_target__` in the snapshot.
A good example is an `expect(locator).toHaveText([...])` where the list
of elements changes from 4 items to 3 after clicking a "Delete" button.
2024-10-02 23:48:26 -07:00
Playwright Service
616425a0fb
feat(firefox): roll to r1465 ( #32938 )
2024-10-03 08:25:44 +02:00
Playwright Service
0fd9452127
feat(webkit): roll to r2084 ( #32912 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-02 09:02:32 +02:00
Dmitry Gozman
773202867d
feat(trace): highlight strict mode violation elements in the snapshot ( #32893 )
...
This is fixing a case where the test failed with strict mode violation,
but all the matched elements are not highlighted in the trace.
For example, all the buttons will be highlighted when the following line
fails due to strict mode violation:
```ts
await page.locator('button').click();
```
To achieve this, we mark elements during `querySelector` phase instead
of inside `onBeforeInputAction`. This allows us to only mark from inside
the `InjectedScript` and remove the other way of marking from inside the
`Snapshotter`.
2024-10-02 00:00:45 -07:00
Max Schmitt
daac0ddd24
fix(fetch): fallback to given URL if baseURL is invalid ( #32911 )
2024-10-01 22:43:32 +02:00
Playwright Service
00e1a99d65
feat(chromium): roll to r1139 ( #32906 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-01 18:18:45 +02:00
Playwright Service
8688af0580
feat(chromium-tip-of-tree): roll to r1265 ( #32894 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-01 16:02:21 +02:00
Playwright Service
60db16bad3
feat(chromium): roll to r1138 ( #32898 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-01 15:15:00 +02:00
Max Schmitt
6f16b6cc08
chore: unflake 'should record' ( #32880 )
2024-09-30 20:32:04 +02:00
Dmitry Gozman
541ce9f0bb
chore: mark 1.49.0-next ( #32873 )
2024-09-30 04:24:57 -07:00
Pavel Feldman
11014145ce
chore: update trace event on action merge ( #32860 )
2024-09-27 21:18:30 -07:00
Pavel Feldman
908b0de5d4
chore: style action list in tv mode ( #32845 )
2024-09-27 17:52:03 -07:00
Max Schmitt
6721cc1746
chore: disable LensOverlay in Chromium ( #32790 )
2024-09-27 20:06:27 +02:00
Dmitry Gozman
a395fb22c4
feat(routeWebSocket): address api review feedback ( #32850 )
2024-09-27 04:01:31 -07:00
Playwright Service
d6f584c2d4
feat(chromium-tip-of-tree): roll to r1264 ( #32840 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-27 10:06:45 +02:00
Pavel Feldman
bcb6860ef5
chore: fix cross browser leak tests ( #32843 )
2024-09-26 19:33:07 -07:00
Pavel Feldman
1a3d3f699b
chore: render recorded action list in tv mode ( #32841 )
2024-09-26 16:46:27 -07:00
Pavel Feldman
c105de4436
chore: move actions types to recorder ( #32839 )
2024-09-26 14:50:09 -07:00
Playwright Service
463bd55cf0
feat(webkit): roll to r2083 ( #32813 )
2024-09-26 21:49:02 +02:00
Pavel Feldman
9bff4d7eab
chore: move sw files into the sw/ folder ( #32837 )
2024-09-26 11:22:20 -07:00
Dmitry Gozman
d07f6cfc5c
docs: check that description has an empty line before it ( #32830 )
2024-09-26 06:31:42 -07:00
Max Schmitt
3b86a9c0e4
docs(markdown): parse :::note's text as children ( #32510 )
2024-09-26 15:16:26 +02:00
Dmitry Gozman
a2bdb2fd79
docs: linkify params and options ( #32823 )
...
References https://github.com/microsoft/playwright/issues/32590 .
2024-09-26 05:13:00 -07:00
Dmitry Gozman
a9d5c39d40
chore: address api review for page.forceGarbageCollection ( #32824 )
...
- Renamed to `page.requestGC`.
- Added a useful snippet to the docs.
References #32278 .
---------
Signed-off-by: Dmitry Gozman <dgozman@gmail.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2024-09-26 05:08:33 -07:00
Playwright Service
6c20318e5c
feat(chromium): roll to r1137 ( #32827 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-26 13:58:55 +02:00
Dmitry Gozman
e5433d0576
chore(docs): validate params/options links ( #32820 )
...
Also supports fully-qualified links like this:
```
[`option: BrowserType.launch.headless`]
```
References https://github.com/microsoft/playwright/issues/32590 .
2024-09-26 01:08:16 -07:00
Yury Semikhatsky
597642d269
chore: pass cli config overrides straight to test server ( #32818 )
2024-09-25 19:45:59 -07:00
Pavel Feldman
61801aa1ee
chore: more codegen fixes ( #32816 )
2024-09-25 18:18:36 -07:00
Yury Semikhatsky
0480bd0cac
chore(bidi): launch firefox with user prefs tailored for testing ( #32817 )
...
Various settings that make Firefox behave when testing over Bidi. The
settings are copied from
ea36b7b1f0/packages/browsers/src/browser-data/firefox.ts (L190-L402)
.
Unlike Playwright bundled version, we write the settings into `user.js`
in the profile folder before launching the browser.
2024-09-25 18:17:07 -07:00
Yury Semikhatsky
b6783bb18b
fix(ui-mode): respect --tsconfig option ( #32798 )
...
Fixes https://github.com/microsoft/playwright/issues/32797
2024-09-24 19:59:15 -07:00
Pavel Feldman
35158feec0
chore: fix codegen flakiness ( #32799 )
2024-09-24 19:56:31 -07:00
Playwright Service
a4cea0c208
feat(webkit): roll to r2082 ( #32793 )
2024-09-24 19:46:12 +02:00
Playwright Service
0b69b1370a
feat(chromium-tip-of-tree): roll to r1263 ( #32791 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-24 14:44:27 +02:00
Pavel Feldman
8649b13f25
chore: start putting tv-recorder ui together ( #32776 )
2024-09-23 19:13:45 -07:00
Playwright Service
7c3dd70bf6
feat(webkit): roll to r2081 ( #32738 )
2024-09-23 19:08:01 -07:00
Yury Semikhatsky
eda0e01167
chore(bidi): bring to front, pdf ( #32698 )
2024-09-23 19:05:55 -07:00
Pavel Feldman
c7a5278fb3
fix: do not start tracing in default recorder ( #32770 )
2024-09-23 15:51:27 -07:00
Yury Semikhatsky
11320d34c6
Revert chore: ignore third-party execution contexts ( #32437 ) ( #32771 )
...
Partially revert #32437 and add a test that console.log() messages from
content scripts are properly reported
Fixes https://github.com/microsoft/playwright/issues/32762
2024-09-23 15:48:11 -07:00
Yury Semikhatsky
c9a26e60f5
fix(webkit): 204 response is not a failure ( #32768 )
...
The login being changed was added in
https://github.com/microsoft/playwright/pull/1260 and is supposed to
only work for navigation requests.
Reference: https://github.com/microsoft/playwright/issues/32752
2024-09-23 14:30:40 -07:00
Mathias Leppich
281eff1209
docs(trial): note that modifier keys are pressed regardless of trial option ( #32734 )
2024-09-23 22:17:47 +02:00
Pavel Feldman
0cdc7ee1a3
chore: extract polling recorder ( #32749 )
...
We are reusing recorder in a snapshot tab, no need for the polling
harness to be there.
2024-09-23 08:42:18 -07:00
Playwright Service
99895005e2
feat(chromium-tip-of-tree): roll to r1262 ( #32760 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-23 14:47:44 +02:00
Dmitry Gozman
b3a82bef46
feat: do not record route calls in the trace ( #32723 )
...
These are represented in the network pane instead.
2024-09-21 10:17:59 -07:00
Pavel Feldman
17ed944a84
chore: iterate towards recording into trace (4) ( #32743 )
2024-09-20 16:56:05 -07:00
Pavel Feldman
418d1c0c55
chore: allow starting recorder in traceviewer ( #32741 )
2024-09-20 15:25:49 -07:00
Pavel Feldman
dfb3fdf217
chore: iterate towards recording into trace (3) ( #32718 )
2024-09-20 13:08:33 -07:00
Playwright Service
33890eb6c5
feat(webkit): roll to r2080 ( #32721 )
...
Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2024-09-20 08:28:46 -07:00
Dmitry Gozman
cdcaa7fab6
feat: routeWebSocket ( #32675 )
...
This introduces `WebSocketRoute` class and
`page/context.routeWebSocket()` methods.
2024-09-20 03:20:06 -07:00
Playwright Service
935aa6b020
feat(webkit): roll to r2079 ( #32720 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-20 09:34:31 +02:00
Pavel Feldman
01b44ba077
chore: remove PWTEST_RECORDER_PORT as it was ignored ( #32717 )
2024-09-19 13:35:52 -07:00
Dmitry Gozman
cc302fa515
fix(chromium): allow PlzDedicatedWorker ( #32711 )
...
With the recent Chromium fixes in v129, it is now safe to enable this
feature.
Fixes #31747 .
2024-09-19 06:38:58 -07:00
Playwright Service
ea284f2986
feat(chromium-tip-of-tree): roll to r1261 ( #32709 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-19 14:47:03 +02:00
Playwright Service
e8e72deac2
feat(chromium): roll to r1136 ( #32707 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-19 14:35:48 +02:00
Dmitry Gozman
5089d9f293
fix(chromium): disable ThirdPartyStoragePartitioning ( #32701 )
...
See
https://developers.google.com/privacy-sandbox/cookies/storage-partitioning
for more details.
References #32230 .
2024-09-19 03:12:21 -07:00
Max Schmitt
48030a4eff
test: fix test expecations after Node.js 22.9.0 ( #32695 )
2024-09-19 10:52:29 +02:00
Pavel Feldman
2f4acbb001
chore: use contentFrame() as a canonical locator representation ( #32697 )
2024-09-18 20:15:01 -07:00
Pavel Feldman
790dbfd78f
fix(codegen): use content_frame property in python ( #32699 )
2024-09-18 19:11:14 -07:00
Yury Semikhatsky
48d3d5554d
chore(bidi): suppress crash reporter in firefox ( #32694 )
...
Same settings as geckodriver uses upstream:
https://searchfox.org/mozilla-central/rev/c414b4538dd3c7e1dc674f7b66176e7c309afa95/testing/geckodriver/src/browser.rs#130-132
2024-09-18 16:02:10 -07:00
Pavel Feldman
427eca6f7e
chore: iterate towards recording into trace (2) ( #32693 )
2024-09-18 14:39:07 -07:00
Dmitry Gozman
f9d9ad25de
feat(locator handler): perform checkpoit during `locator.waitFor` ( #32683 )
...
Fixes #32255 .
2024-09-18 09:34:06 -07:00
Max Schmitt
d4eecafa8a
test: listen always on 127.0.0.1 for client certificate tests ( #32677 )
2024-09-18 17:09:08 +02:00
Playwright Service
ddd43d0f20
feat(webkit): roll to r2078 ( #32685 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-18 15:50:43 +02:00
Max Schmitt
ec3db20743
test: fix toolbar hydration test under frozen suite ( #32684 )
2024-09-18 15:35:33 +02:00
Simon Knott
825df6c074
feat(har): record `serverIPAddress` for API requests ( #32660 )
...
Discovered working on
https://github.com/microsoft/playwright/pull/32658 . We're recording the
remote server address for browser requests, but not for API requests.
This PR adds that for API requests.
2024-09-18 14:51:42 +02:00
Playwright Service
7d4aa0aa8e
feat(chromium-tip-of-tree): roll to r1260 ( #32651 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-18 14:37:19 +02:00
Simon Knott
4460c98710
fix(har tracing): record `response.bodySize` for API requests ( #32656 )
...
A small drive-by that came out of working on
https://github.com/microsoft/playwright/issues/32653 .
2024-09-18 08:21:10 +02:00
Simon Knott
8a97050822
feat(har): record `securityDetails` for API Requests ( #32664 )
...
While working on https://github.com/microsoft/playwright/pull/32658 I
discovered that we're recording `securityDetails` for browser requests,
but not for API requests. This PR fixes that.
2024-09-18 08:18:47 +02:00
Pavel Feldman
355c88f48f
chore: iterate towards recording into trace ( #32646 )
2024-09-17 18:26:44 -07:00
Yury Semikhatsky
4c4d74ca5b
chore: page.screenshot() in bidi ( #32671 )
...
The results are copied from the existing chromium expectations.
2024-09-17 16:51:56 -07:00
Yury Semikhatsky
8b84b20dd0
chore: back-forward in bidi ( #32670 )
2024-09-17 16:02:13 -07:00
Yury Semikhatsky
375a1c4982
chore: exposeBinding/exposeFunction in bidi ( #32669 )
2024-09-17 15:37:42 -07:00
Simon Knott
751b939d3a
feat(fetch): record timings ( #32613 )
...
Related to https://github.com/microsoft/playwright/issues/19621
Adds some instrumentation to collect timings for `APIRequestContext`
requests and adds them to the HAR trace. Doesn't yet expose them via an
API, but makes our `Duration` field in the trace viewer show a nice
duration:
<img width="1392" alt="Screenshot 2024-09-14 at 11 46 04"
src="https://github.com/user-attachments/assets/8020382d-9494-4634-9cfd-22b6f4a1d770 ">
I'm gonna add it to our API in a separate PR.
---------
Signed-off-by: Simon Knott <info@simonknott.de>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2024-09-17 16:11:21 +02:00
Simon Knott
f6219e6e79
Revert "feat(tracing): add .pwtrace to trace file extension" ( #32648 )
...
Reverts microsoft/playwright#32581
Relates
https://github.com/microsoft/playwright/issues/32226#issuecomment-2351164727
2024-09-17 15:32:30 +02:00
Simon Knott
b0f15b320f
fix(recorder): reattach toolbar if it was unmounted by framework hydration ( #32637 )
...
Closes https://github.com/microsoft/playwright/issues/32632 . A side
effect of Remix's hydration implementation is that it throws away the
entire DOM. This is broadly discussed in
https://github.com/remix-run/remix/issues/4822 - there might be a fix in
coming React versions, but who knows.
Besides breaking browser extensions, this also deletes our toolbar!
This PR fixes it by periodically checking in on `x-pw-glass`, and
remounting it if it was unmounted. Hacky but effective!
2024-09-17 08:37:49 +02:00
Pavel Feldman
47713e8a66
chore: make recorder tests pass in frozen mode ( #32645 )
2024-09-16 22:47:54 -07:00
Yury Semikhatsky
2a347b5494
chore: support launchPersistentContext with bidi ( #32641 )
2024-09-16 17:31:26 -07:00
Pavel Feldman
6dbde62a6b
chore: simplify signal handling while recording ( #32624 )
2024-09-16 14:39:36 -07:00
Pavel Feldman
92c6408b94
fix(recorder): address the react race condition ( #32628 )
2024-09-16 13:47:13 -07:00
Max Schmitt
21d162c945
feat(client-certificates): add support for proxies ( #32611 )
...
Fixes https://github.com/microsoft/playwright/issues/32370
2024-09-16 17:57:33 +02:00
Max Schmitt
b335b00a86
docs: add reference to locator strictness if or resolves to multiple elements ( #32633 )
2024-09-16 17:30:14 +02:00
Playwright Service
feac957475
feat(webkit): roll to r2077 ( #32636 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-16 17:18:01 +02:00
Simon Knott
aeb4d182f7
feat(tracing): add .pwtrace to trace file extension ( #32581 )
...
Closes https://github.com/microsoft/playwright/issues/32226
I've updated every mention of `.trace.zip` except for the release notes.
2024-09-14 10:17:07 +02:00
Yury Semikhatsky
34876e9291
chore: cookies in intercepted bidi requests ( #32623 )
2024-09-13 18:29:35 -07:00
Matthew Jee
f2a974b045
feat(api): add method to force garbage collection ( #32383 )
2024-09-13 23:09:36 +02:00
Playwright Service
5b28d2a84c
feat(firefox): roll to r1464 ( #32614 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-13 18:12:43 +02:00
Playwright Service
b82100adf5
feat(firefox-beta): roll to r1464 ( #32615 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-13 18:12:35 +02:00
Max Schmitt
79cba7d704
chore: introduce option overrides on context/browser ( #32606 )
2024-09-13 17:34:34 +02:00
Playwright Service
e3370c9eb0
feat(webkit): roll to r2075 ( #32610 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-13 15:13:11 +02:00
Simon Knott
48c7fb6b06
feat(library): accept `FormData` in `fetch` ( #32602 )
...
Closes https://github.com/microsoft/playwright/issues/26520 by accepting
`FormData`, which became stable in Node.js in v21.
2024-09-13 13:21:02 +02:00
Pavel Feldman
cd4dabef8b
chore: remove stray codegen signal handling ( #32599 )
2024-09-12 14:38:23 -07:00
Pavel Feldman
7e3348eb0e
chore: recorder is trace viewer experiment ( #32598 )
2024-09-12 13:39:44 -07:00
Pavel Feldman
de08e729ae
chore: move recorder trace to action collector ( #32597 )
2024-09-12 12:42:28 -07:00
Pavel Feldman
d051495c7a
chore: perform double click while recording ( #32576 )
2024-09-12 11:40:44 -07:00
Max Schmitt
5e086be36b
chore: freeze ffmpeg on macOS-12 ( #32596 )
2024-09-12 20:32:34 +02:00
Playwright Service
470b1b4922
feat(chromium-tip-of-tree): roll to r1259 ( #32588 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-12 13:46:33 +02:00
Playwright Service
b1b33efebb
feat(chromium): roll to r1135 ( #32591 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-12 13:46:15 +02:00
Playwright Service
6f52834f74
feat(webkit): roll to r2073 ( #32563 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-11 20:39:01 +02:00
Playwright Service
aaac57b948
feat(webkit): roll to r2072 ( #32550 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-11 13:02:03 +02:00
Simon Knott
ec40890fd8
fix(tracing): use page swap timestamp to find closest screenshot ( #32512 )
...
Follow-up to https://github.com/microsoft/playwright/pull/32248 . When we
have it, we should use the page swap timestamp we get from Chromium to
find the closest screenshot.
2024-09-10 14:32:33 +02:00
Rui Figueira
f8562e4ca7
chore: improve error message when Array.toJSON misbehaves ( #32508 )
...
Fixes : #32507
2024-09-10 04:14:24 -07:00
Playwright Service
8995ace825
feat(firefox-beta): roll to r1463 ( #32529 )
2024-09-10 08:57:40 +02:00
Yury Semikhatsky
c8a72d63ad
chore: run bidi firefox tests on ci ( #32527 )
2024-09-09 17:22:19 -07:00
Max Schmitt
e5d6ee5bd8
chore: merge fetch params on server side ( #32518 )
...
https://github.com/microsoft/playwright-python/pull/2546#discussion_r1750090592
2024-09-09 22:28:08 +02:00
Max Schmitt
4b5422a3c7
fix(ui-mode): use server side path separator ( #32523 )
...
Fixes https://github.com/microsoft/playwright/issues/32323
2024-09-09 22:07:28 +02:00
Playwright Service
363e79ee87
feat(webkit): roll to r2071 ( #32521 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-09 20:07:37 +02:00
Yury Semikhatsky
d030965688
chore: addInitScript and auth (unsuccessful) in bidi ( #32500 )
2024-09-09 10:13:26 -07:00
Max Schmitt
718bd9b35f
devops: run BiDi tests ( #32493 )
2024-09-07 09:16:42 +02:00
Yury Semikhatsky
f3ada9c654
chore: wheel input in bidi ( #32499 )
2024-09-06 17:10:14 -07:00
Yury Semikhatsky
37bc485827
chore: remove browser-specific bidi hacks ( #32498 )
...
Those were just workarounds for browser-specific bugs, they should be
fixed upstream.
* individual mouse down/up/down/up events don't trigger dblclick event
in Firefox
* setContent throws when document.open/write is called in the utility
context in Firefox
2024-09-06 16:40:24 -07:00
Yury Semikhatsky
11441c0fe1
fix: add missing await in adoptIfNeeded ( #32497 )
...
Otherwise it throws in Bidi.
2024-09-06 13:17:32 -07:00
Yury Semikhatsky
f0e13164d7
chore: split firefox and chromium bidi implementations ( #32478 )
2024-09-05 18:31:56 -07:00
Yury Semikhatsky
752b171a13
chore: support bidi connection to chromium ( #32474 )
2024-09-05 14:56:07 -07:00
Playwright Service
5127efdc2a
feat(chromium): roll to r1134 ( #32470 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-05 14:57:20 +02:00
Simon Knott
0f636116e2
chore: mark 1.48.0-next ( #32466 )
2024-09-05 12:57:16 +02:00
Playwright Service
255143e201
feat(webkit): roll to r2070 ( #32451 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-04 20:41:06 +02:00
Yury Semikhatsky
9a2c60a77c
chore: identify largest gaps in Bidi API ( #32434 )
...
This pull request introduces initial support for the WebDriver BiDi
protocol in Playwright. The primary goal of this PR is not to fully
implement BiDi but to experiment with the current state of the
specification and its implementation. We aim to identify the biggest
gaps and challenges that need to be addressed before considering BiDi as
the main protocol for Playwright.
2024-09-04 11:36:52 -07:00
Playwright Service
2fabd15fef
feat(firefox): roll to r1463 ( #32439 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-04 08:49:10 +02:00
Yury Semikhatsky
d7b9cf21db
chore: ignore third-party execution contexts ( #32437 )
...
* Only track main and utility world contexts
* Properly update click metadata
2024-09-03 23:00:59 -07:00
Yury Semikhatsky
b75483bbb4
Revert "docs: deprecate: Request.serviceWorker() ( #32136 )" ( #32432 )
...
This reverts commit b7ed4d7b9e
.
2024-09-03 10:18:20 -07:00
Playwright Service
9f466a1ead
feat(chromium-tip-of-tree): roll to r1256 ( #32423 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-03 17:12:54 +02:00
Playwright Service
847d29dd86
feat(webkit): roll to r2069 ( #32422 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-03 13:28:15 +02:00
Playwright Service
221b77309c
feat(webkit): roll to r2068 ( #32417 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-03 09:54:14 +02:00
Przemyslaw Malolepszy
b8c4a477ff
chore(docs): fix APIResponse.headersArray() desc ( #32375 )
2024-09-03 09:01:01 +02:00
Playwright Service
d145c4c91c
feat(webkit): roll to r2067 ( #32415 )
2024-09-03 06:59:54 +02:00
Playwright Service
5c2e9962b4
feat(chromium-tip-of-tree): roll to r1255 ( #32376 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-02 09:54:58 +02:00
Playwright Service
d9016e506e
feat(chromium): roll to r1133 ( #32391 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-02 09:49:38 +02:00
Pavel Feldman
74a8e59096
chore: allow recorder rewrite annotations ( #32381 )
2024-08-29 14:16:01 -07:00
Playwright Service
6763d5ab6b
feat(chromium-tip-of-tree): roll to r1254 ( #32337 )
2024-08-28 15:59:31 -07:00
Yury Semikhatsky
896190edbb
Revert feat(addInitScript): support cjs modules ( #32364 )
...
Reverting https://github.com/microsoft/playwright/pull/32282 and
https://github.com/microsoft/playwright/pull/32240 .
2024-08-28 15:39:48 -07:00
Yury Semikhatsky
5271fe1f26
chore: remove unused request param from route.continue ( #32307 )
2024-08-28 08:24:44 -07:00
Playwright Service
d61b207ce3
feat(webkit): roll to r2066 ( #32343 )
...
Fixes https://github.com/microsoft/playwright/issues/30305
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Yury Semikhatsky <yurys@chromium.org>
2024-08-28 08:23:39 -07:00
Pavel Feldman
ec681ca78c
chore: pass explicit recorder app factory ( #32349 )
2024-08-27 20:24:19 -07:00
Pavel Feldman
0b5456d00b
chore: perform action based on frame path ( #32347 )
2024-08-27 17:17:57 -07:00
Pavel Feldman
a1df11011c
chore: split recorder into files ( #32345 )
2024-08-27 14:10:21 -07:00
Pavel Feldman
bc87467b25
chore: generate simple dom descriptions in codegen ( #32333 )
2024-08-27 11:52:14 -07:00
Pavel Feldman
177576a51b
chore: add simple dom util ( #32332 )
2024-08-26 16:28:40 -07:00
Pavel Feldman
6f55b57e5a
chore: move codegen into its own folder ( #32330 )
2024-08-26 15:24:02 -07:00
Yury Semikhatsky
888a5b53e7
docs: avoid confustion with incognito mode ( #32327 )
...
Fixes https://github.com/microsoft/playwright/issues/32321
2024-08-26 11:02:41 -07:00
Pavel Feldman
4340d153df
chore: deprecate locator.frameLocator() ( #32306 )
2024-08-26 10:28:54 -07:00
Pavel Feldman
3d9342aa77
chore: update removeAllListeners docs ( #32305 )
...
Closes https://github.com/microsoft/playwright/issues/31474
2024-08-26 09:29:02 -07:00
Max Schmitt
67d3d5f203
fix(clock): don't throw for |null| or |undefined| callbacks ( #32309 )
...
Fixes https://github.com/microsoft/playwright/issues/32293
This aligns it how Chromium and other browsers are doing it.
2024-08-26 09:26:38 -07:00
Max Schmitt
596f497633
fix: don't throw error on about:blank when blocking ServiceWorker ( #32310 )
...
Fixes https://github.com/microsoft/playwright/issues/32292
2024-08-26 08:27:21 -07:00
Playwright Service
5acd2dbf48
feat(webkit): roll to r2065 ( #32322 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-26 10:25:59 +02:00
Playwright Service
9c81eab329
feat(webkit): roll to r2064 ( #32319 )
2024-08-26 06:56:08 +02:00
Dmitry Gozman
abe6c04a54
chore: remove `noWaitAfter` from selectOption ( #32283 )
...
This follows removing this option from other methods in v1.46. The two
methods still supporting `noWaitAfter` are `click` and `press`.
2024-08-23 14:50:43 -07:00
Pavel Feldman
37eb66df10
chore: extract performAction in recorder ( #32279 )
2024-08-23 10:19:44 -07:00
Pavel Feldman
4edc076935
chore: load env from playwright.env when running codegen ( #32280 )
2024-08-23 10:19:36 -07:00
Playwright Service
8703dd4f06
feat(webkit): roll to r2063 ( #32295 )
2024-08-23 17:57:18 +02:00
Max Schmitt
1b220c5289
chore: remove Chromium Windows proxy hacks ( #31724 )
...
Fixes https://github.com/microsoft/playwright/issues/17252
2024-08-23 15:17:00 +02:00
Dmitry Gozman
3a75f23ea1
fix(addInitScript): require non-undefined arg to trigger commonjs module ( #32282 )
2024-08-23 02:48:56 -07:00
Playwright Service
947fbc8590
feat(chromium-tip-of-tree): roll to r1253 ( #32266 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-22 17:43:39 +02:00
Max Schmitt
16e76cb71a
fix(client-certificates): errors during http2 TLS handshake ( #32258 )
2024-08-22 15:13:54 +02:00
Dmitry Gozman
571f25a7d3
fix(role): hidden pseudos should not contribute to accessible name ( #32251 )
2024-08-21 11:14:41 -07:00
Dmitry Gozman
d5a7495041
feat(addInitScript): support cjs modules when passing both `path` and `arg` ( #32240 )
...
This works with scripts bundled by:
- `esbuild entrypoint.ts --bundle --format=cjs --outfile=injected.js`
- webpack with a typical config
```js
module.exports = {
entry: { 'injected': './entrypoint.js', },
output: {
path: require('path').resolve(__dirname),
filename: '[name].js',
libraryTarget: 'commonjs2',
},
};
```
2024-08-21 09:46:38 -07:00
Yury Semikhatsky
918dbe5e3a
chore: start listening for navigation events before navigation starts ( #32237 )
...
There is a chance in case of cross-process navigation that the
navigation event comes before `navigateFrame` finishes.
2024-08-21 08:34:55 -07:00
Pavel Feldman
109cab66f1
chore: extract recorder dialog into a class ( #32233 )
2024-08-20 10:56:55 -07:00
Dmitry Gozman
b4a9b247b4
fix(role): make sure to ignore style/script/noscript/template ( #32231 )
...
Even when these are a part of a hidden `aria-labelledby` traversal, all
browsers ignore them anyway.
2024-08-20 09:02:23 -07:00
Playwright Service
18694f6843
feat(webkit): roll to r2062 ( #32147 )
2024-08-19 19:29:23 +02:00
Max Schmitt
010778f6c5
feat(client-certificates): allow passing certificates from memory ( #32210 )
2024-08-19 09:24:32 +02:00
Max Schmitt
faf4853259
chore: validate client-certificates on context creation ( #32168 )
2024-08-19 09:02:14 +02:00
Playwright Service
570e05699e
feat(chromium-tip-of-tree): roll to r1250 ( #32202 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-17 10:56:18 +02:00
Max Schmitt
743565ee3e
chore: generate self-signed certificates for socks proxy ( #32192 )
2024-08-16 20:21:05 +02:00
Playwright Service
e7b7c715b0
feat(chromium): roll to r1131 ( #32174 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-15 20:41:27 +02:00
Max Schmitt
a1d32d997c
fix(client-certificates): improve close handling from target and proxy ( #32158 )
2024-08-15 10:21:10 +02:00
Max Schmitt
aac3a84321
fix(client-certificates): stall on tls handshake errors ( #32163 )
...
Extracted from https://github.com/microsoft/playwright/pull/32158 .
2024-08-15 08:51:40 +02:00
Yury Semikhatsky
60900f8541
chore(webkit): add listeners directly without eventsHelper ( #32149 )
...
The listeners are never removed, so there is no point in wrapping them
with the helper
2024-08-14 08:38:49 -07:00
Max Schmitt
4daf5c2303
fix(client-certificates): when server does tls renegotiation ( #32155 )
...
Certain https servers like Microsoft IIS aka. TLS servers do the TLS
renegotiation after the TLS handshake. This ends up in two
`'secureConnect'` events due to an upstream Node.js bug:
https://github.com/nodejs/node/issues/54362
Drive-by: Move other listeners like `'close'` / `'end'` to `once()` as
well.
Relates https://github.com/microsoft/playwright/issues/32004
2024-08-14 15:11:29 +02:00
Playwright Service
856c4509a2
feat(chromium-tip-of-tree): roll to r1249 ( #32148 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-14 00:46:53 +02:00
Dmitry Gozman
f8eef3897c
chore: move urlMatch to isomorphic ( #32142 )
...
To be reused in injected code.
2024-08-13 12:47:02 -07:00
Yury Semikhatsky
6cc53cfce6
chore: move output parsing to concrete browsers ( #32129 )
2024-08-13 12:20:41 -07:00
Kuba Janik
0588834307
feat: allow `URLSearchParams` and `string` as params in `APIRequestContext` (follow-up) ( #32143 )
...
Follow-up to https://github.com/microsoft/playwright/pull/32120
I made some changes suggested by @yury-s in the previous PR that make a
lot of sense:
- added an example to the documentation
- improved tests
- check params on the client and server end
- reverted to non-English characters being used as params
2024-08-13 10:39:56 -07:00
Max Schmitt
b7ed4d7b9e
docs: deprecate: Request.serviceWorker() ( #32136 )
2024-08-13 15:59:30 +02:00
Yury Semikhatsky
a28f51a0f3
chore: use base BrowserType to reference browser types ( #32125 )
2024-08-12 22:20:58 -07:00
Kuba Janik
308381eeae
feat: allow `URLSearchParams` and `string` as params in `APIRequestContext` ( #32120 )
2024-08-12 14:22:03 -07:00
Yury Semikhatsky
2ae196f708
fix(docs): API types do not extend EventEmitter ( #32124 )
...
Fixes https://github.com/microsoft/playwright/issues/32097
2024-08-12 11:22:48 -07:00
Max Schmitt
0d575b4ef6
chore: less 'as any' in html-reporter ( #32117 )
...
Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: Simon Knott <info@simonknott.de>
2024-08-12 15:17:42 +02:00
Dmitry Gozman
a30a8805c9
fix(expect): account for timeout during the first locator handler check ( #32095 )
...
Also considered an alternative to not perform the locator handler check
during one-shot, but that would be somewhat against the promise of the
locator handler that is supposed to run **before** every expect check.
Fixes #32089 .
2024-08-12 01:57:15 -07:00
Playwright Service
e8d845be64
feat(webkit): roll to r2061 ( #32109 )
2024-08-10 11:44:32 +02:00
Playwright Service
4d26036b7b
feat(webkit): roll to r2060 ( #32082 )
...
Reference: https://github.com/microsoft/playwright/pull/32108
2024-08-09 15:31:35 -07:00
Dmitry Gozman
9b3e0e5667
chore: simplify binding result dispatch ( #32092 )
...
We can now pass an Error object through evaluate.
2024-08-09 03:46:52 -07:00
Playwright Service
5cc1e7b299
feat(firefox): roll to r1462 ( #32086 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-08 22:41:49 +02:00
Playwright Service
83b807385d
feat(firefox-beta): roll to r1462 ( #32087 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-08 22:41:09 +02:00
Playwright Service
69287f26bc
feat(chromium-tip-of-tree): roll to r1248 ( #32077 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-08 14:24:47 +02:00
Playwright Service
05732b50c8
feat(chromium): roll to r1130 ( #32074 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-08 14:13:18 +02:00
Playwright Service
48627ad484
feat(firefox-beta): roll to r1461 ( #32068 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-08 11:37:37 +02:00
Playwright Service
3d2b5e6801
feat(firefox-beta): roll to r1460 ( #32059 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-08 08:48:12 +02:00
Playwright Service
f8a7a301e6
feat(chromium-tip-of-tree): roll to r1247 ( #32030 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-08 08:37:38 +02:00
faulpeltz
ca25d2c802
fix: ubuntu version detection for linux mint 22 ( #32049 )
...
Add Linux Mint 22 (Ubuntu based distro) version detection for dependency
installation
Linux Mint 22.x -> Ubuntu 24.04
(also see original Linux Mint support PR #28085 )
2024-08-07 14:28:03 -07:00
Playwright Service
7449ca21f4
feat(firefox-beta): roll to r1459 ( #32054 )
2024-08-07 14:21:54 -07:00
Dmitry Gozman
ea747afcdd
chore: use a single binding for all Playwright needs ( #32039 )
...
This makes it easier to manage bindings, being just init scripts.
Fixes the BFCache binding problem.
Makes bindings removable in Firefox.
Fixes #31515 .
2024-08-07 06:20:12 -07:00
Yury Semikhatsky
43e852334b
docs: route.fallback() vs. route.continue() ( #32035 )
...
Fixes https://github.com/microsoft/playwright/issues/31983
2024-08-06 11:35:53 -07:00
Pavel Feldman
3c87f217df
feat(events): allow waiting for removeAllListeners ( #31941 )
2024-08-05 21:14:35 -07:00
Yury Semikhatsky
193013c9ee
docs(har): default update mode is minimal ( #32016 )
...
Update the documentation to match actual behavior.
The actual behavior today:
* Default mode is `full` when `recordHar` is passed to
`browser.newContext`
* Default mode is `minimal` when calling `context.routeFromHAR` and
`page.routeFromHAR`
Reference https://github.com/microsoft/playwright/issues/31983
2024-08-05 11:29:43 -07:00
Max Schmitt
613ccb8d5b
chore(client-certificates): rewrite error for unsupported PFX errors ( #32008 )
2024-08-05 14:42:29 +02:00
Max Schmitt
71e614dc5a
fix(client-certificates): report error to the browser if incorrect passphrase ( #32007 )
2024-08-05 10:54:33 +02:00
Playwright Service
c54567a46b
feat(webkit): roll to r2056 ( #31999 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-05 06:12:38 +02:00
Max Schmitt
d0c840f639
fix(clock): mock time in Event.prototype.timeStamp ( #31986 )
...
Ideally we generate the timestamp when the Event gets created. This
patch adds a best-effort logic, since we can't override the constructor
of natively created events, e.g. `MouseEvent`.
Fixes https://github.com/microsoft/playwright/issues/31924
2024-08-02 15:27:54 +02:00
Max Schmitt
878a6a499b
chore: prefer executablePath for page.pause() ( #31985 )
...
Motivation: For scenarios where
[`findChromiumChannel`](f17de8222f/packages/playwright-core/src/server/registry/index.ts (L1016)
)
throws (no branded browser and no normal browser is installed) we were
[silently
catching](f17de8222f/packages/playwright-core/src/server/recorder.ts (L79)
)
when calling `page.pause()`.
This patch does not invoke `findChromiumChannel` when the
inspectedContext is Chromium based and has an `executablePath`
specified.
Note this was already fixed by #6214 , but regressed since then.
Fixes https://github.com/microsoft/playwright/issues/31967
2024-08-02 11:18:51 +02:00
Max Schmitt
f17de8222f
chore: run client-certificate tests in service mode ( #31973 )
2024-08-02 08:34:28 +02:00
Yury Semikhatsky
db0980a850
chore(fetch): include response text into failOnStatusCode errors ( #31978 )
...
Fixes https://github.com/microsoft/playwright/issues/31834
2024-08-01 17:53:43 -07:00
Simon Knott
76cca7fc2c
fix(ui): only populate settings once ( #31958 )
...
We populate `localStorage` using an init script. Currently, this script
isn't just run for the UI though, but also for all iframes. So we're
resetting `localStorage` every time the UI loads an iframe.
This hasn't been a problem in the past, because the only consumer of
`localStorage`, `Settings`, only read from `localStorage` once and kept
most state in `useState` afterwards. With
https://github.com/microsoft/playwright/pull/31911 , this is no longer
true, so the bug starts biting us!
The fix is to ensure the init script isn't run on iframes.
2024-08-01 17:28:48 +02:00
Playwright Service
c858554dca
feat(chromium-tip-of-tree): roll to r1246 ( #31951 )
2024-08-01 15:13:15 +02:00
Playwright Service
6c6f10b678
feat(chromium): roll to r1129 ( #31955 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-01 14:32:44 +02:00
Playwright Service
a83134b270
feat(ffmpeg): roll to r1010 ( #31949 )
2024-08-01 13:17:11 +02:00
Playwright Service
6af2635343
feat(chromium-tip-of-tree): roll to r1245 ( #31948 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-01 10:27:02 +02:00
Yury Semikhatsky
edb89dcb66
chore: make sure error stack includes message as before #31691 ( #31934 )
...
This brings stack formatting to how it was prior to
1686e5174d
so that the ports can use it.
2024-07-31 10:58:37 -07:00
Max Schmitt
55187207e4
chore: various roll fixes for .NET ( #31914 )
2024-07-30 19:09:20 +02:00
Playwright Service
947f925443
feat(webkit): roll to r2054 ( #31910 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-30 12:24:14 +02:00
Max Schmitt
bd186640df
fix(client-certificates): use matching origin for connections on :443 ( #31913 )
...
Motivation: When using client-certificates on a website on port `443`,
we would normalise the user input with `new URL` but still generate a
"bad" representation of the "origin" internally, since the just do
concatenated "host:port".
(The origin doesn't contain the port in case of :443)
We use `clientCertificatesToTLSOptions` in two places:
a) for APIRequestContext, there we pass one from the URL constructor
over and
b) from the socks proxy, there we **now** also pass a "good one" over.
Test plan: We don't want to run the tests on port :443, so only manually
validated the fix.
Relates https://github.com/microsoft/playwright/issues/31906
2024-07-30 12:23:57 +02:00
Pavel Feldman
58b0c76f20
chore: use soft event emitter ( #31868 )
2024-07-29 17:11:31 -07:00
Max Schmitt
7e7319da7d
fix(client-certificates): don't use proxy when using BrowserContext.request ( #31898 )
2024-07-29 16:44:53 +02:00
Max Schmitt
f45cf65921
chore: add maxRetries to APIRequestContext.delete ( #31893 )
2024-07-29 14:39:30 +02:00
Max Schmitt
cc313f3290
fix(client-certificates): error response body Content-Length calculation ( #31897 )
2024-07-29 14:39:14 +02:00
Playwright Service
1a7d6749da
feat(webkit): roll to r2053 ( #31885 )
...
Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2024-07-26 20:32:12 +02:00
Playwright Service
7690694677
feat(webkit): roll to r2052 ( #31882 )
2024-07-26 20:29:31 +02:00
Max Schmitt
e784e2df01
chore: mark 1.47.0-next ( #31879 )
2024-07-26 17:50:11 +02:00
Max Schmitt
6988194c97
test: unflake contextmenu recorder test ( #31749 )
2024-07-26 12:43:05 +02:00
Max Schmitt
47e4e45bc2
chore: update WebKit version to 18.0 ( #31873 )
2024-07-26 11:32:51 +02:00
Max Schmitt
09581b615d
fix(client-certificates): return target errors on response when using http2 ( #31867 )
2024-07-26 11:28:45 +02:00
Max Schmitt
81b3c0c402
fix(client-certificates): include socks-certs in npm package ( #31872 )
2024-07-26 11:04:38 +02:00
Max Schmitt
a02ed38e60
chore: reduce file reads in client-certificates internal TLS server ( #31865 )
2024-07-25 22:36:25 +02:00
Dmitry Gozman
d8d5289e86
fix(remote): make sure api calls reject before browser is closed ( #31858 )
...
Upon calling `browser.close()` or dropping remote connection, make sure
to reject api calls before resolving `browser.close()` and firing a
`disconnected` event.
This change aligns the order guarantee with non-remote case.
2024-07-25 09:57:34 -07:00
Max Schmitt
0c6ecf8df4
chore: use happy eyeballs for client-certificates ( #31859 )
2024-07-25 18:55:47 +02:00
Playwright Service
d3e2c6cbb2
feat(chromium-tip-of-tree): roll to r1244 ( #31856 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-25 18:54:24 +02:00
Max Schmitt
90af289ba2
test: use managed http2 server for client-certificates ( #31844 )
2024-07-25 18:53:38 +02:00
Playwright Service
bdbe4795f1
feat(chromium): roll to r1128 ( #31848 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-25 09:42:53 +02:00
Max Schmitt
7570c25b3d
chore: remove glob from client-certificate matching ( #31846 )
...
Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2024-07-24 19:13:03 +02:00
Max Schmitt
c5b7ce86dc
feat(client-certificates): add http2 support ( #31786 )
2024-07-24 11:39:39 +02:00
Pavel Feldman
c74843a914
chore(fetch): pass flush and finishFlush options to brotli ( #31833 )
...
Fixes https://github.com/microsoft/playwright/issues/31814
2024-07-23 18:28:34 -07:00
Yury Semikhatsky
1918ae5c4a
fix(webkit): reenable CrossOriginOpenerPolicy ( #31765 )
...
Depends on https://github.com/microsoft/playwright-browsers/pull/1160
Fixes: https://github.com/microsoft/playwright/issues/14043
2024-07-23 15:02:47 -07:00
Max Schmitt
c4862c022c
chore: client certificates api review ( #31826 )
2024-07-23 22:56:36 +02:00
Yury Semikhatsky
383e4b3c73
Revert "feat: introduce touchscreen.touch() for dispatching raw touch… ( #31823 )
...
… events (#31457 )"
This reverts commit a3e31fd2c4
.
2024-07-23 10:29:37 -07:00
Max Schmitt
b9c4b6bff0
chore: client certificates refactorings ( #31822 )
2024-07-23 19:18:31 +02:00
Simon Knott
2cc4e14756
fix(core): update maxRetries docs ( #31810 )
2024-07-23 08:27:27 -07:00
Max Schmitt
526e4118fa
chore: use socks.Duplex constructor instead of extending ( #31816 )
2024-07-23 15:44:16 +02:00
Playwright Service
d5a77c0f0b
feat(chromium-tip-of-tree): roll to r1243 ( #31812 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-23 15:22:06 +02:00
Andrey Lushnikov
d23ea26947
feat(firefox): roll Firefox & Firefox-Beta to 1458 ( #31807 )
...
Fixes https://github.com/microsoft/playwright/issues/31525
Closes https://github.com/microsoft/playwright/pull/31806
Closes https://github.com/microsoft/playwright/pull/31805
2024-07-23 10:37:00 +02:00
Yury Semikhatsky
e269092ef9
Revert "fix: add 'window-management' to chromium browser ( #31687 )" ( #31801 )
...
This reverts commit 0aa2f06f68
.
Discussed the new permission in the API review and decided not to
proceed with the feature as we are not ready to commit to supporting it
yet:
* the API is Chromium specific
* the API is still experimental
* there is no clarity to what extend the screen manipulation APIs will
work in old headless which is our main test environment
We'll keep an eye on the demand for the feature and may get back to
implementing it in the future.
Reference: https://github.com/microsoft/playwright/issues/27198
2024-07-22 11:27:12 -07:00
Josh Soref
7abbbd0c84
docs: spelling ( #31779 )
...
Fixes misspellings identified by the [check-spelling
action](https://github.com/marketplace/actions/check-spelling ).
The misspellings have been reported at
https://github.com/jsoref/playwright/actions/runs/10015023629#summary-27685777352
The action will report that the changes in this PR would make it happy:
https://github.com/jsoref/playwright/actions/runs/10015023971#summary-27685778305
---
I understand that the commit messages will need to be reworded to match
house style. For the time being, these are merely noting the changes
they contain so that when I rebase or need to drop things, I can. --
I've already rebased once as someone fixed one of the items that my
draft work was going to fix.
---
## Testing
* The tests _mostly_ passed when I managed to trigger them, but there
were a handful of things that I didn't quite understand
* There are a large number of warnings relating to a bad interaction
between any workflow that uses this local action
b535139b32/.github/actions/run-test/action.yml (L74-L80)
and the action it calls -- I've opened Azure/login#474 asking them to
refactor their action so that it doesn't cause so much noise while
running this repository's tests
* I'm vaguely curious as to why this repository has a `branch`
constraint for its `pull_request` events in its workflows -- that
constraint gave me a number of additional headaches while trying to
prepare this branch for this PR.
---------
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2024-07-22 06:45:22 -07:00
Playwright Service
af3d2ba9fe
feat(webkit): roll to r2048 ( #31778 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-20 14:27:41 +02:00
Max Schmitt
f104e920e0
fix(client-certificates): pass TLS servername for SNI ( #31761 )
2024-07-19 12:55:20 +02:00
Yury Semikhatsky
d007ff3b62
chore: make WKInterceptableRequest._requestId private ( #31762 )
...
With COOP navigation we may need to take over request in the new
provisional page where it will have different id. This is preparation to
that.
2024-07-18 15:19:53 -07:00
Max Schmitt
708def8804
fix(client-certificates): keep ignoreHTTPSErrors false by default ( #31760 )
2024-07-18 22:37:11 +02:00
Playwright Service
097f28def9
feat(chromium-tip-of-tree): roll to r1242 ( #31751 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-18 14:46:42 +02:00
Playwright Service
26c9478648
feat(chromium): roll to r1127 ( #31755 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-18 14:46:19 +02:00
Max Schmitt
453e3bdf9d
test: fix client-certificates tests on Windows ( #31750 )
2024-07-18 13:43:56 +02:00
Dmitry Gozman
e78ce8521d
feat(chromium-tip-of-tree): roll to r1241 ( #31748 )
...
Closes https://github.com/microsoft/playwright/pull/31650
Closes https://github.com/microsoft/playwright/pull/31705
Relates https://github.com/microsoft/playwright/issues/31747
2024-07-18 12:11:03 +02:00
Dmitry Gozman
6491e5b415
chore: deprecate/remove noWaitAfter from some actions ( #31739 )
...
The following actions keep `noWaitAfter` option: `click`, `selectOption`
and `press`.
All other actions that used to have `noWaitAfter` now behave like it was
set to true, not waiting for follow-up navigations. In the docs, this
option is marked as completely ignored.
A small logic change was made to compensate for this behavior: when
waiting for the `hitTargetInterceptor`, we now race it against
navigations to avoid stalling when navigation stalls. Previously,
waiting for the interceptor was disabled when `noWaitAfter` was passed,
and since it's impossible to pass this option now, we mitigate by never
stalling instead.
Fixes #31469 .
2024-07-18 00:19:08 -07:00
Matt Kleinsmith
e06481a332
fix(recorder): address custom context menus ( #31634 )
2024-07-17 11:45:48 -07:00
Playwright Service
3cb41739a0
feat(firefox-beta): roll to r1457 ( #31733 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-17 18:33:47 +02:00
Max Schmitt
e11c0c0cbb
fix(connect): annotate internal api calls correctly ( #31715 )
2024-07-17 09:00:47 +02:00
Yury Semikhatsky
8021312c99
chore: enable notification permission tests in WebKit ( #31699 )
...
The Notifications API has been supported in WebKit since 2022, enable
related permission and tests.
2024-07-16 09:44:38 -07:00
Max Schmitt
7ce9b7e56b
fix(setInputFiles): throw when uploading file in directory upload ( #31706 )
2024-07-16 15:55:35 +02:00
Playwright Service
a5ca9b7d37
feat(webkit): roll to r2047 ( #31701 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-16 08:28:58 +02:00
Ismael Onilearan
0aa2f06f68
fix: add 'window-management' to chromium browser ( #31687 )
2024-07-15 14:34:57 -07:00
Dmitry Gozman
6ee8f1de2d
Revert "chore: move artifacts recording to TestLifecycleInstrumentation ( #30935 )" ( #31686 )
...
This reverts commit ba5b460444
.
2024-07-15 07:01:51 -07:00
Dmitry Gozman
1686e5174d
chore: allow evaluating Error objects ( #31691 )
...
Previously, Error objects were replaced with strings.
Now, Error objects are reconstructed back from the serialized value.
2024-07-15 05:47:40 -07:00
Dmitry Gozman
074cc7d467
Revert "feat(trace): record trace upon browser closure ( #31563 )" ( #31677 )
...
This reverts commit bc27ca225e
. Considered
too risky.
2024-07-15 01:08:51 -07:00
Yury Semikhatsky
1b4d9003c6
fix(har): ignore boundary when matching multipart/form-data body ( #31672 )
...
Fixes https://github.com/microsoft/playwright/issues/31495
2024-07-12 16:59:48 -07:00
Max Schmitt
459b762565
chore: remove unused kTestSdkObjects ( #31665 )
2024-07-12 11:56:16 -07:00
Pavel Feldman
297143885a
fix(clock): ensure Date.now() is an integer ( #31648 )
...
Fixes https://github.com/microsoft/playwright/issues/31644
2024-07-12 11:44:25 -07:00
Max Schmitt
3127571b24
Revert "fix(chromium): pass --enable-gpu when running headless ( #30937 )"
...
This reverts commit d0b052e1e0
.
2024-07-12 20:12:56 +02:00
Playwright Service
68595ac385
feat(webkit): roll to r2045 ( #31664 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-12 19:24:38 +02:00
Max Schmitt
9569cb5c1e
feat: support client certificates ( #31529 )
...
Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2024-07-12 11:42:24 +02:00
Dmitry Gozman
229000501e
chore: introduce helpers for non-stalling eval on page/context ( #31658 )
2024-07-12 02:26:16 -07:00
Playwright Service
2441c765b1
feat(chromium): roll to r1126 ( #31649 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-12 00:03:29 +02:00
Pavel Feldman
77e50635ee
chore: fix build warnings ( #31616 )
2024-07-11 14:12:59 +02:00
Max Schmitt
89eef55dc7
chore: use own socks5 server for tests ( #31639 )
2024-07-11 14:12:48 +02:00
Playwright Service
2b77ed4d7a
feat(firefox): roll to r1457 ( #31633 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-11 07:44:48 +02:00
Matvey Chernyshov
ba62f83454
chore: add android keys for channels switching ( #31619 )
2024-07-10 13:15:45 -07:00
Stanislav Grishaev
ce2b138eeb
chore: add iPhone 15 device family ( #31623 )
...
Fixes https://github.com/microsoft/playwright/issues/31573
---------
Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2024-07-10 13:58:36 +02:00
Playwright Service
dcff807ab8
feat(webkit): roll to r2044 ( #31628 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-10 13:25:43 +02:00
Playwright Service
067e423d14
feat(chromium-tip-of-tree): roll to r1239 ( #31610 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-09 13:58:03 +02:00
Max Schmitt
5c8fe5c33c
docs: make x/y more clear ( #31606 )
...
Fixes https://github.com/microsoft/playwright/issues/31567
2024-07-09 12:52:51 +02:00
Álvaro Martínez
00131c1e3f
feat(trace-viewer): display text attachments in ui mode ( #31215 )
2024-07-08 11:16:14 -07:00
Dmitry Gozman
21c4531618
fix(selector generator): do not reparent to invisible ancestor ( #31590 )
...
Fixes #31335 .
2024-07-08 09:07:25 -07:00
Dmitry Gozman
48db1b1663
fix(ui mode): allow --updateSnapshots ( #31584 )
...
Fixes #31408 .
2024-07-08 01:08:57 -07:00
Dmitry Gozman
bc27ca225e
feat(trace): record trace upon browser closure ( #31563 )
...
Retaining traces in the following scenarios:
- browser crash;
- manual `browser.close()`;
- implicit `browser.close()` from the `browser` fixture upon test end.
This does not affect the library, where `browser.close()` will not
retain the trace and will close the browser as fast as possible.
References #31541 , #31535 , #31537 .
2024-07-06 11:34:34 -07:00
Max Schmitt
1132667ffe
chore: bump TypeScript to v5.5 ( #31532 )
2024-07-05 16:31:08 +02:00
Playwright Service
95ebfd301f
feat(webkit): roll to r2043 ( #31561 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-05 10:57:11 +02:00
Playwright Service
64b62988f6
feat(chromium-tip-of-tree): roll to r1237 ( #31536 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-03 14:11:36 +02:00
Max Schmitt
2b974f2139
docs(clock): update time types in Python/.NET ( #31511 )
2024-07-03 10:46:33 +02:00
Nicolas Le Cam
9caf3b5f72
chore: Remove obsolete Chromium enabled features ( #31513 )
2024-07-02 09:10:42 -07:00
Max Schmitt
9dc7e40084
chore(electron): don't swallow close errors ( #31509 )
2024-07-01 22:00:03 +02:00
Playwright Service
2136b96df1
feat(webkit): roll to r2041 ( #31502 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-01 16:14:32 +02:00
Playwright Service
60773f34d8
feat(webkit): roll to r2040 ( #31486 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-30 13:21:46 +02:00
4ydx
4089f4593b
fix(codgen): assertValue works with disabled select ( #31315 )
2024-06-28 13:04:59 -07:00
Pavel Feldman
f46ae15500
test(clock): fix clock mode bots ( #31472 )
2024-06-28 11:46:28 -07:00
Playwright Service
f1b04aaaf4
feat(webkit): roll to r2039 ( #31480 )
2024-06-28 15:23:38 +02:00
Yury Semikhatsky
a3e31fd2c4
feat: introduce touchscreen.touch() for dispatching raw touch events ( #31457 )
2024-06-27 14:37:36 -07:00
Playwright Service
33ac75b7ab
feat(chromium-tip-of-tree): roll to r1236 ( #31466 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-27 21:07:49 +02:00
Pavel Feldman
c9e673c6dc
fix(utility): create utility world when web security is disabled ( #31458 )
...
Reverts previous attempt at #31096
Fixes: https://github.com/microsoft/playwright/issues/31431
Fixes: https://github.com/microsoft/playwright/issues/31442
2024-06-27 09:29:20 -07:00
Playwright Service
87785d6092
feat(chromium): roll to r1125 ( #31467 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-27 17:01:16 +02:00
Yury Semikhatsky
111876d526
docs: improve addCookies.cookie parameter description ( #31456 )
2024-06-26 15:39:43 -07:00
Playwright Service
41b185d643
feat(webkit): roll to r2038 ( #31441 )
2024-06-26 09:20:28 -07:00
Playwright Service
976373ed2c
feat(chromium-tip-of-tree): roll to r1234 ( #31418 )
2024-06-26 16:51:57 +02:00
Max Schmitt
f11ab2f145
chore: enable keepAlive in happy eyeballs http.Agent ( #31434 )
2024-06-25 19:05:32 +02:00
Yury Semikhatsky
2b12f53332
chore(route): wait for raw headers from browser in case of redirects ( #31410 )
...
Redirects are always autoresumed, so the will always receive extra info
with raw headers. We only want to make raw headers available immediately
when there is a route.
Reference https://github.com/microsoft/playwright/issues/31351
2024-06-24 12:25:12 -07:00
Dmitry Gozman
114b6f0de6
docs: deprecate `handle` option in `exposeBinding` ( #31419 )
2024-06-24 11:29:40 -07:00
Yury Semikhatsky
d74ddaebe7
fix: correctly report overridden headers on redirected requests ( #31409 )
...
Fixes https://github.com/microsoft/playwright/issues/31351
2024-06-21 17:44:58 -07:00
Playwright Service
42b9e8375a
feat(chromium): roll to r1124 ( #31404 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-21 14:20:01 +02:00
Max Schmitt
6ed3b374a8
fix(electron): allow downloads ( #31390 )
2024-06-21 00:35:14 +02:00
Playwright Service
940d20ad0b
feat(webkit): roll to r2037 ( #31400 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-20 22:57:25 +02:00
Playwright Service
0694474fe1
feat(webkit): roll to r2036 ( #31387 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-20 09:52:59 +02:00
Yury Semikhatsky
95fc2b8a8b
feat(fetch): maxRetries for fetch ( #31386 )
...
Fixes https://github.com/microsoft/playwright/issues/30978
2024-06-19 18:10:14 -07:00
Dmitry Gozman
2dfda0a16f
chore: bump ws to 8.17.1 in the utils bundle ( #31384 )
...
Follow-up to #31377 .
2024-06-19 15:11:54 -07:00
Yury Semikhatsky
a2b116aa39
fix(trace): ensure har entry _monotonicTime is always start time ( #31385 )
...
* Revert harTracer change from
aeba083da0
to make sure that har.Entry._monotonicTime always represents request
start time. The issue from the corresponding report was due to HEAD and
GET request sent for the same URL, that use case is still addressed as
we match by url + method
* Adjust resources monotonic time as well when several contexts are
shown in the trace viewer.
Fixes https://github.com/microsoft/playwright/issues/31133
2024-06-19 15:06:20 -07:00
Playwright Service
45ee318673
feat(firefox): roll to r1456 ( #31375 )
...
Fixes https://github.com/microsoft/playwright/issues/31328
Fixes https://github.com/microsoft/playwright/issues/30837
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2024-06-19 19:03:58 +02:00
Playwright Service
a7958ff95f
feat(firefox-beta): roll to r1456 ( #31376 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-19 18:25:57 +02:00
Dmitry Gozman
ac90a47b73
fix(click): do not retarget <a> to the parent <label> ( #31368 )
...
Fixes #31359 .
2024-06-18 12:12:19 -07:00
Max Schmitt
5fc56283a6
fix(clock): throw for invalid date ( #31356 )
...
Fixes https://github.com/microsoft/playwright/issues/31354
2024-06-18 18:23:55 +02:00
Max Schmitt
c6aab05bd5
devops: make Android driver compile ( #31360 )
...
Fixes https://github.com/microsoft/playwright/issues/31355
All changes were done with the Android Studio upgrade assistant. It
updates it to the latest Gradle to make it compatible with recent Java
while keeping the `targetSdkVersion` unchanged.
2024-06-18 18:23:29 +02:00
Max Schmitt
f05b4daa2f
fix(clock): under reused context ( #31357 )
...
We uninstall all the setInitScript but forgot to mark `installed` as
`false`.
Fixes https://github.com/microsoft/playwright/issues/31353
2024-06-18 18:21:33 +02:00
Yury Semikhatsky
9e6772818e
chore: cache normalized whitespaces in recorder ( #31349 )
...
Reference: https://github.com/microsoft/playwright/issues/31254
On the web page from the bug it reduces time to compute selectors by 8x:
**Before:**
<img width="549" alt="before"
src="https://github.com/microsoft/playwright/assets/9798949/f4482860-29d5-4643-92ab-b360a702f232 ">
**After:**
<img width="580" alt="after"
src="https://github.com/microsoft/playwright/assets/9798949/b6aca6a1-9306-4041-9042-d504dce1c33a ">
2024-06-17 18:20:15 -07:00
Yury Semikhatsky
5443b66636
fix(codegen): trim alt selectors to 80 chars ( #31346 )
...
Fixes https://github.com/microsoft/playwright/issues/31254
2024-06-17 16:32:22 -07:00
Playwright Service
f3f708e01a
feat(firefox-beta): roll to r1454 ( #31343 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-17 21:34:24 +02:00
Pavel Feldman
2a7f17d820
chore: fix simulated clock bots ( #31301 )
2024-06-17 09:17:38 -07:00
Fumiaki MATSUSHIMA
838c572209
fix: select issue in Windows with Edge ( #31270 )
2024-06-17 10:28:07 +02:00
Dmitry Gozman
32e25a252b
chore: mark v1.46.0-next ( #31324 )
2024-06-14 18:22:42 -07:00
Playwright Service
cf85905f44
feat(webkit): roll to r2035 ( #31308 )
2024-06-14 10:49:50 +02:00
Max Schmitt
a9200be0af
fix(screenshotter): only wait for for document.fonts.ready on locator frame / page main frame ( #31295 )
...
**Investigation**
~~We use `nonStallingEvaluateInExistingContext` as of today, which does
`eval()` inside (from our utilityScript) which breaks for some sites. It
causes a hang, since the returned `Promise` of `eval()` hangs. We don't
know as of today why this happens. Without wrapping it ini `eval()` it
does not hang.~~
~~Workaround: Do a plain Runtime.evaluate instead.~~
workaround: Only wait on main frame.
Relates https://github.com/microsoft/playwright/issues/28995 (keeping it
open until they confirm that it helps)
2024-06-14 01:22:14 +02:00
Max Schmitt
a76e5824c0
docs: examples for file directory upload ( #31302 )
2024-06-13 23:37:47 +02:00
Dmitry Gozman
d0b052e1e0
fix(chromium): pass --enable-gpu when running headless ( #30937 )
...
Fixes #30585 .
2024-06-13 11:27:17 -07:00
Pavel Feldman
897f7449ef
fix(clock): fix pauseAt to arrive at wall time ( #31297 )
2024-06-13 10:21:00 -07:00
Playwright Service
8ea663aa64
feat(firefox): roll to r1454 ( #31288 )
2024-06-13 16:19:09 +02:00
Playwright Service
def622b15d
feat(chromium-tip-of-tree): roll to r1231 ( #31292 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-13 16:15:49 +02:00
Playwright Service
e8285369f5
feat(chromium): roll to r1123 ( #31289 )
2024-06-13 11:28:56 +02:00
Playwright Service
a2a6431efd
feat(webkit): roll to r2033 ( #31286 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-13 10:05:49 +02:00
Max Schmitt
dcf4e4e054
feat: allow folder uploads ( #31165 )
2024-06-12 22:20:18 +02:00
Playwright Service
6a7bfe63a1
feat(webkit): roll to r2031 ( #31272 )
2024-06-12 16:06:47 +02:00
Playwright Service
e07b46883d
feat(webkit): roll to r2029 ( #31257 )
2024-06-11 22:14:30 +02:00
Pavel Feldman
2b257ea963
chore(clock): introduce pauseAt ( #31255 )
2024-06-11 12:51:00 -07:00
Playwright Service
8fd0a56427
feat(chromium-tip-of-tree): roll to r1230 ( #31251 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-11 18:52:38 +02:00
Pavel Feldman
6399e8de4e
chore: clock api review ( #31237 )
2024-06-11 09:42:15 -07:00
Yury Semikhatsky
c08000b967
feat(chromium): storage-access permission ( #31239 )
...
Fixes https://github.com/microsoft/playwright/issues/31227
2024-06-11 09:18:45 -07:00
Max Schmitt
98637ea5b5
chore: update socks dependencies (fix npm audit for 'ip' package) ( #31231 )
...
Fixes https://github.com/microsoft/playwright/security/dependabot/76
Ran `npm audit fix` locally.
2024-06-10 10:28:29 -07:00
Pavel Feldman
e280d0bd35
chore(clock): split wall and monotonic time ( #31198 )
2024-06-09 14:50:50 -07:00
Playwright Service
43d6d012d4
feat(firefox-beta): roll to r1453 ( #31197 )
2024-06-07 09:22:22 +02:00
Playwright Service
05e10a8d0f
feat(firefox): roll to r1453 ( #31199 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-07 09:22:08 +02:00
Pavel Feldman
dd3a41287e
chore: simplify doTick ( #31196 )
2024-06-06 19:26:30 -07:00
Pavel Feldman
826343b8a0
chore: rename fakeTimers to clock ( #31193 )
2024-06-06 15:56:13 -07:00
Playwright Service
8782936a00
feat(webkit): roll to r2022 ( #31191 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-06 20:17:17 +02:00
Playwright Service
e259f802d6
feat(chromium): roll to r1122 ( #31188 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-06 20:02:58 +02:00
Yury Semikhatsky
fc6fcc2118
chore: remove same site hack for libsoup on the client ( #31192 )
2024-06-06 08:55:38 -07:00
Playwright Service
c8b7cda514
feat(chromium-tip-of-tree): roll to r1229 ( #31187 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-06 16:49:45 +02:00
Pavel Feldman
384eed65ea
chore: organize fake timers ( #31156 )
2024-06-05 09:25:12 -07:00
Playwright Service
f9c268a8e6
feat(webkit): roll to r2019 ( #31167 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-05 15:19:32 +02:00
Max Schmitt
9a536b0a56
fix: add libicu74 dependency to webkit Ubuntu 24.04 ( #31152 )
2024-06-04 21:48:44 +02:00
Darío Kondratiuk
76b25e84cc
docs: Improve clock doc ( #31147 )
2024-06-04 18:48:56 +02:00
Pavel Feldman
c516ba0ec8
api(clock): rework api based on the review ( #31137 )
2024-06-04 06:51:35 -07:00
Pavel
8d0def190d
docs: iterate over the clock (2)
2024-06-03 09:03:43 -07:00
Max Schmitt
2c6fd722dd
feat: support Ubuntu 24.04 ( #30826 )
2024-06-03 12:47:16 +02:00
Playwright Service
0203fed0c2
feat(webkit): roll to r2017 ( #31127 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-03 09:52:26 +02:00
Pavel
8d2f4c1433
docs: iterate over the clock dock
2024-06-01 08:22:36 -07:00
Pavel Feldman
fc6c67f5f9
docs: start adding clock docs ( #31111 )
2024-06-01 07:30:58 -07:00
Playwright Service
4655a30bdd
feat(webkit): roll to r2016 ( #31114 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-01 13:48:17 +02:00
Pavel Feldman
8bfd0eb6e4
chore: introduce clock test mode ( #31110 )
2024-05-31 14:44:26 -07:00
Joe-Hendley
afa0bf2247
feat: increase length of printed html tags ( #31105 )
...
resolves https://github.com/microsoft/playwright/issues/30977 by
increasing the printed length of HTML tags from 50 -> 500 as suggested
by @dgozman
2024-05-31 10:45:56 -07:00
Pavel Feldman
76e977a934
chore: add clock.next() ( #31097 )
2024-05-31 08:09:24 -07:00
Playwright Service
a617dd0df8
feat(webkit): roll to r2015 ( #31103 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-31 14:39:58 +02:00
Pavel Feldman
f17d0440a7
chore: attempt at fixing double init scripts ( #31096 )
2024-05-30 15:38:10 -07:00
Pavel Feldman
f97d87ea5a
docs: fix the api review typos ( #31071 )
2024-05-30 12:15:52 -07:00
Yury Semikhatsky
6067b78f88
chore: http credentials send immeidately/unauthorized enum ( #31076 )
...
Reference https://github.com/microsoft/playwright-internal/issues/205
Reference https://github.com/microsoft/playwright/issues/30534
2024-05-30 10:19:56 -07:00
Pavel Feldman
170c457a61
feat(timers): a stab at fake timers ( #31075 )
2024-05-30 09:38:27 -07:00
Playwright Service
a1db91040e
feat(chromium): roll to r1121 ( #31090 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-30 17:50:22 +02:00
Playwright Service
cb589d7fa5
feat(chromium-tip-of-tree): roll to r1227 ( #31091 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-30 17:49:59 +02:00
Dmitry Gozman
ba5b460444
chore: move artifacts recording to TestLifecycleInstrumentation ( #30935 )
...
The spirit of this change is reverting #23153 . Since that time, we have
moved tracing and `artifactsDir` lifetime into the test runner, so the
reason for revert is mitigated.
Fixes #30287 , fixes #30718 , fixes #30959 .
2024-05-29 18:05:17 -07:00
Yury Semikhatsky
f93da40925
feat(webkit): roll to r2014 ( #31074 )
...
Closes https://github.com/microsoft/playwright/pull/31059
Closes https://github.com/microsoft/playwright/pull/31012
Reference https://github.com/microsoft/playwright-browsers/issues/795
2024-05-29 17:20:38 -07:00
Playwright Service
97a82e6b77
feat(firefox): roll to r1452 ( #31068 )
...
Fixes https://github.com/microsoft/playwright/issues/31039
Closes https://github.com/microsoft/playwright/pull/31069
2024-05-29 08:28:26 -07:00
Pavel Feldman
6675652269
chore: split client-side instrumentation into sync and async ( #31054 )
2024-05-28 14:29:57 -07:00
Playwright Service
fb8f868128
feat(webkit): roll to r2013 ( #31045 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-28 17:20:55 +02:00
Playwright Service
6a055434ce
feat(chromium-tip-of-tree): roll to r1226 ( #31044 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-28 14:15:32 +02:00
Playwright Service
ef65cff2e1
feat(chromium-tip-of-tree): roll to r1225 ( #31035 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-27 18:40:06 +02:00
cavivie
a7599ad509
feat(api): add host option in launchServer options ( #30999 )
2024-05-27 11:24:23 +02:00
Dmitry Gozman
c906448fe2
fix(recorder): do not ignore signals except for navigation ( #30994 )
...
When a signal arrives late enough, after the last action was committed
in 5 seconds, we should still account for it. This includes downloads,
popups and dialogs, but not navigations.
Exposed by a flaky test "should record open in a new tab with url".
2024-05-23 17:40:39 -07:00
Playwright Service
b12cfe457b
feat(webkit): roll to r2012 ( #30990 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-23 23:28:33 +02:00
Playwright Service
20a23b3485
feat(chromium): roll to r1120 ( #30980 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-23 14:53:48 +02:00
Playwright Service
a968b2a5f6
feat(firefox-beta): roll to r1451 ( #30958 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-23 10:30:15 +02:00
Playwright Service
14d98aaaf7
feat(firefox): roll to r1451 ( #30950 )
2024-05-23 10:30:06 +02:00
Playwright Service
7645d293f0
feat(chromium-tip-of-tree): roll to r1223 ( #30966 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-23 09:29:15 +02:00
Playwright Service
2d448ec2a0
feat(webkit): roll to r2011 ( #30971 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-23 09:24:04 +02:00
Dmitry Gozman
eed6a10f3f
fix(tracing): speed up trace recording ( #30946 )
...
This includes two major changes:
- reuse `SerializedFS` for live test runner tracing;
- merge scheduled `appendFile` operations into a single `fs` call.
In some cases, this improves performance of UI mode by 61% and
performance of `trace: on` mode by 38%. Note that performance
improvement on the average test will not be as noticeable.
References #30875 , #30635 .
2024-05-22 15:19:32 -07:00
Pavel Feldman
964fe66ccc
chore: hint at unroute for handle errors ( #30949 )
2024-05-22 08:54:19 -07:00
Olaf Alders
5b00ce1594
docs: fix typo in ConsoleMessage class ( #30857 )
2024-05-22 13:31:14 +02:00
Pavel Feldman
e7a11c0ca2
fix: propagate close reason to api context ( #30945 )
2024-05-21 18:05:58 -07:00
Pavel Feldman
7b27fc3916
chore: pass outputDir to uimode ( #30941 )
...
Fixes https://github.com/microsoft/playwright/issues/30886
2024-05-21 14:36:31 -07:00
Yury Semikhatsky
148d759a4c
fix(chromium): do not fetch intercepted request body from network ( #30938 )
...
Fixes https://github.com/microsoft/playwright/issues/30760
2024-05-21 12:49:47 -07:00
Joel Einbinder
d0644f5444
fix(electron): flaky startup if stderr comes in too fast ( #30855 )
...
Chromium's `DevTools listening on` message sometimes arrives before
Playwright is finished connecting to Node. Without this patch, it would
miss the message and fail to connect.
2024-05-21 12:15:05 -07:00
Dmitry Gozman
6290af3a08
feat(reporters): align and document environment variables ( #30912 )
...
- Documents `PLAYWRIGHT_FORCE_TTY` and `FORCE_COLOR` across terminal
reporters.
- New `PLAYWRIGHT_LIST_PRINT_STEPS`. Removes undocumented test-only
`PW_TEST_DEBUG_REPORTERS_PRINT_STEPS`.
- Replaces `PLAYWRIGHT_HTML_REPORT` with `PLAYWRIGHT_HTML_OUTPUT_DIR`
and `PW_TEST_HTML_REPORT_OPEN` with `PLAYWRIGHT_HTML_OPEN` for
consistency, supports older versions for backwards compatibility.
- New `PLAYWRIGHT_HTML_HOST`, `PLAYWRIGHT_HTML_PORT` and
`PLAYWRIGHT_HTML_ATTACHMENTS_BASE_URL`.
- New `PLAYWRIGHT_JUNIT_STRIP_ANSI` and
`PLAYWRIGHT_JUNIT_INCLUDE_PROJECT_IN_TEST_NAME`.
- Removes `PW_HTML_REPORT` that was set for unknown reason.
2024-05-21 10:46:52 -07:00
Max Schmitt
a93ad3dade
fix(fetch): allow UTF-8 in Location header ( #30904 )
2024-05-21 09:15:33 +02:00
Yury Semikhatsky
042896472b
fix: route.continue should not change multipart form data body ( #30863 )
...
The bug was fixed in https://github.com/microsoft/playwright/pull/30734 .
This PR adds a test and updates interception logic to not send post data
when it is not modified.
Fixes https://github.com/microsoft/playwright/issues/30788
2024-05-20 16:36:57 -07:00
Lukas Bockstaller
437b14a903
fix: relative url path for ui mode ( #29924 )
...
This is a follow up #29564
I did a deep dive on a redirect issue I observed in my infrastructure
and originally attributed to some configuration mistakes on my part.
I have code hosted on `example.com/code` and use subdomain proxying.
This leads to the uimode being exposed on
`example.com/code/proxy/{{port}}`.
Clicking on the open uimode link shown by vscode redirected with a 302
to `example.com/proxy/{{port}}`
The absolute redirect url overruled the relative path handling reverse
proxies rely on.
This PR turns the absolute into a relative url to avoid this issue.
2024-05-20 10:18:08 -07:00
Max Schmitt
162c18f586
feat(roll): roll Firefox to r1450 ( #30865 )
...
Fixes
https://github.com/microsoft/playwright/actions/runs/9120975643/job/25079367394
2024-05-19 16:28:32 +02:00
Playwright Service
b6a7d0a17e
feat(chromium): roll to r1119 ( #30879 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-17 19:06:11 +02:00
Yury Semikhatsky
b375f10778
fix: fulfill with unassigned status codes ( #30856 )
...
Fixes https://github.com/microsoft/playwright/issues/30773
2024-05-17 09:32:40 -07:00