Yury Semikhatsky
b5fe029c1b
chore: remove failOnStatusCode from Browser.newContext, rename ( #34936 )
2025-02-26 15:03:21 -08:00
Dmitry Gozman
b148cbad76
fix: remove unicode soft hyphen in normalizeWhitespace ( #34920 )
2025-02-25 16:54:02 +00:00
Simon Knott
9e38473309
fix(runner): hide `APIResponse.*` calls from results ( #34909 )
2025-02-25 14:26:54 +01:00
Dmitry Gozman
ed0bf35435
feat: locator.visible ( #34905 )
2025-02-25 11:48:15 +00:00
Yury Semikhatsky
9b633ddd2f
docs: touch events guide improvements ( #34903 )
2025-02-24 14:13:27 -08:00
Yury Semikhatsky
dbbdabfd1b
chore: pass JSHandles instead of ObjectId to/from context delegate ( #34895 )
2025-02-24 12:11:17 -08:00
Yury Semikhatsky
954457ba9e
chore: fix firefox tests after switching to context delegate ( #34898 )
2025-02-22 17:12:39 -08:00
Yury Semikhatsky
e091baad79
chore: make execution context delegate public ( #34894 )
2025-02-21 18:27:24 -08:00
Yury Semikhatsky
e38099ef13
chore: getProperties can use context stored in JSHandle ( #34893 )
2025-02-21 17:55:02 -08:00
Yury Semikhatsky
1af59ee523
chore(bidi): do not leak utility handles ( #34892 )
2025-02-21 17:44:33 -08:00
Yury Semikhatsky
962a752832
chore: contain remote objects to browser-specific code ( #34890 )
2025-02-21 16:52:39 -08:00
Yury Semikhatsky
6486ac006e
chore: initialize utility script privately ( #34812 )
2025-02-21 13:59:55 -08:00
Playwright Service
0bb5925d0d
feat(chromium): roll to r1160 ( #34884 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2025-02-21 15:40:18 +01:00
Simon Knott
48fb536e12
chore(screenshot): warn about visibility of masked elements ( #34881 )
2025-02-21 13:52:44 +01:00
Sang Nguyen
e4ceac8e4c
docs: correct closing tags for option elements in HTML examples ( #34874 )
2025-02-21 09:38:47 +01:00
Playwright Service
e43d287d8d
feat(webkit): roll to r2140 ( #34866 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-20 11:15:46 +01:00
Pavel Feldman
d5adeb3cf4
chore: build a client bundle ( #34847 )
2025-02-19 15:27:00 -08:00
Max Schmitt
3584e72223
chore: remove 'as *' imports because of `esModuleInterop: true` ( #34854 )
2025-02-19 15:32:12 +01:00
Simon Knott
a3e8788b9c
chore: hide llm chat ( #34852 )
2025-02-19 14:14:18 +01:00
Playwright Service
dcb9ed8d41
feat(webkit): roll to r2139 ( #34850 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-19 11:11:40 +01:00
Playwright Service
0baadb513b
feat(chromium-tip-of-tree): roll to r1304 ( #34842 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-18 16:24:09 +01:00
Playwright Service
715123afbe
feat(firefox-beta): roll to r1471 ( #34796 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-17 10:04:32 +01:00
Playwright Service
060ef5562d
feat(webkit): roll to r2138 ( #34814 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-17 09:34:16 +01:00
Pavel Feldman
f70f92d5cd
chore: do not use process in client ( #34816 )
2025-02-15 19:49:30 -08:00
Pavel Feldman
3606a434fe
chore: pass validator into validator context ( #34810 )
2025-02-15 08:28:28 -08:00
Pavel Feldman
024a52821a
chore: init eventEmitter w/ platform ( #34809 )
2025-02-14 17:06:11 -08:00
Yury Semikhatsky
145b6bf4fe
chore: browser independent setInputFiles implementation ( #34808 )
2025-02-14 16:44:27 -08:00
Pavel Feldman
8b28e637c8
chrome: remove state from isomorphic utils ( #34795 )
2025-02-14 15:10:50 -08:00
Yury Semikhatsky
be95a08c4d
feat(webkit): roll to r2137, update tests ( #34806 )
2025-02-14 11:25:35 -08:00
Simon Knott
fe0b327770
feat(ui): llm conversation about error ( #34750 )
2025-02-14 16:59:26 +01:00
Playwright Service
32c299c89d
feat(chromium): roll to r1159 ( #34780 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2025-02-14 09:33:55 +01:00
Playwright Service
e276d92dd3
feat(chromium-tip-of-tree): roll to r1303 ( #34783 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-14 09:33:27 +01:00
Pavel Feldman
7f742a04b0
chore: make client compile for web ( #34792 )
2025-02-13 18:33:17 -08:00
Pavel Feldman
4a9b336168
chore: for not use Node's events in client ( #34791 )
2025-02-13 16:46:24 -08:00
Pavel Feldman
163aacf4b6
chore: allow client operation w/o local utils ( #34790 )
2025-02-13 16:15:11 -08:00
Pavel Feldman
90ec838318
chore: move zones into platform ( #34786 )
2025-02-13 13:06:03 -08:00
Pavel Feldman
9ecf2f69ba
chore: move pipe transport utils to server/ ( #34787 )
2025-02-13 12:30:53 -08:00
Yury Semikhatsky
e03402f7a7
chore(bidi): implement setInputFile(FilePayload) ( #34785 )
2025-02-13 12:11:05 -08:00
Playwright Service
ea67eca5be
feat(webkit): roll to r2134 ( #34754 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-13 10:05:41 +01:00
Pavel Feldman
ded909c13f
chrome: restore colors enabled/levels logic ( #34767 )
2025-02-12 21:13:25 -08:00
Pavel Feldman
3d760b657b
chore: move debug, env and user agent from utils/ ( #34766 )
2025-02-12 19:27:24 -08:00
Yury Semikhatsky
6951e6ad9d
chore(bidi): move private handle conversion to execution context ( #34765 )
2025-02-12 18:14:39 -08:00
Pavel Feldman
e697b1a663
chore: remove stackTrace => path dependency ( #34763 )
2025-02-12 18:03:23 -08:00
Pavel Feldman
c31ce783b7
chore: move event utils to server ( #34761 )
2025-02-12 15:22:10 -08:00
Pavel Feldman
0eeba380f2
chore: move crypto to server/util/ ( #34759 )
2025-02-12 14:43:52 -08:00
Yury Semikhatsky
c2c336b97d
chore(bidi): implement setInputFiles ( #34757 )
2025-02-12 12:49:05 -08:00
Yury Semikhatsky
148af21540
chore(bidi): implement getOwnerFrame ( #34755 )
2025-02-12 10:53:03 -08:00
Pavel Feldman
f54478a23e
chore: move utils that are user in server to server/utils (3) ( #34739 )
2025-02-12 09:34:01 -08:00
Yury Semikhatsky
703ca9f851
Revert "chore(bidi): use fractional coordinates for pointerAction (#3… ( #34753 )
2025-02-12 09:00:01 -08:00
Dmitry Gozman
3e976e9f10
chore(chromium): re-enable PlzDedicatedWorker feature ( #34400 )
2025-02-12 13:22:35 +00:00
Max Schmitt
c052627138
fix: allow empty userDataDir ( #34730 )
2025-02-12 14:21:57 +01:00
Pavel Feldman
bd74fc4964
chore: move utils that are user in server to server/utils (2) ( #34736 )
2025-02-11 17:19:27 -08:00
Pavel Feldman
25a168fae5
chore: move utils that are user in server to server/utils (1) ( #34734 )
2025-02-11 15:40:41 -08:00
JacksonLei123
5a76b17c87
feat: add failOnStatusCode option to API request context ( #34346 )
2025-02-11 13:23:11 -08:00
Pavel Feldman
46b048f018
chore: vendor stack utils ( #34719 )
2025-02-11 12:53:08 -08:00
Yury Semikhatsky
8e51be9069
chore(bidi): use fractional coordinates for pointerAction ( #34675 )
2025-02-11 12:09:48 -08:00
Playwright Service
3ae39166c2
feat(chromium-tip-of-tree): roll to r1302 ( #34726 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-11 17:40:52 +01:00
Max Schmitt
416c9b3368
fix: allow relative userDataDir ( #34710 )
2025-02-11 17:40:00 +01:00
Pavel Feldman
72cd6f06aa
chore: prework for web ws connection ( #34718 )
2025-02-11 08:28:28 -08:00
Pavel Feldman
51f944d16a
chore: extract pipe->connection code ( #34689 )
2025-02-10 15:04:33 -08:00
Pavel Feldman
2718ce7cbf
chore: short-cut localUtils usage in JS client ( #34690 )
2025-02-10 14:19:58 -08:00
Playwright Service
71c7f465a0
feat(webkit): roll to r2132 ( #34697 )
2025-02-10 11:36:45 -08:00
Pavel Feldman
5d500dde22
chore: introduce platform for client (1) ( #34683 )
2025-02-10 10:22:32 -08:00
Max Schmitt
967c4f5e3b
chore: fix Locator type issues ( #34705 )
2025-02-10 13:05:17 +01:00
Playwright Service
4c8af0128f
feat(chromium): roll to r1158 ( #34702 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2025-02-10 12:33:37 +01:00
Playwright Service
a95186a373
feat(firefox): roll to r1475 ( #34695 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-10 09:12:50 +01:00
Playwright Service
f11ed1beab
feat(chromium-tip-of-tree): roll to r1301 ( #34696 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-10 09:12:07 +01:00
Pavel Feldman
88c01434c6
chore: fix locator type check ( #34682 )
2025-02-07 14:53:28 -08:00
Pavel Feldman
4a7f6a6ef0
chore: organize imports in playwright-core ( #34680 )
2025-02-07 13:54:01 -08:00
Adam Gastineau
4bc8cf0d47
feat(recorder): display primary page URL in recorder title ( #34637 )
2025-02-07 12:05:04 -08:00
Simon Knott
893e7bbf3b
chore: add _browserTypes helpers to playwright ( #34611 )
2025-02-07 15:43:08 +01:00
Pavel Feldman
7da3be4a1a
chrome: update eslint 9 ( #34666 )
2025-02-06 19:48:27 -08:00
Henrik Skupin
6fddefde81
chore(bidi): pointerMove action needs to floor fractional values for x and y position ( #34191 )
2025-02-06 16:17:50 -08:00
Yury Semikhatsky
3d3154de86
chore(tracing): look up snapshot resources only in the same context ( #34645 )
2025-02-06 12:38:51 -08:00
Max Schmitt
427d7a22ea
Revert "chore: tidy up headless-shell hacks ( #33967 )" ( #34659 )
2025-02-06 19:17:20 +01:00
Simon Knott
902e83fe87
fix: allow opt out from `IndexedDB` in storagestate ( #34650 )
2025-02-06 16:40:14 +01:00
Dmitry Gozman
8d751cfe50
fix(fetch): filter out undefined `params` ( #34654 )
2025-02-06 15:16:45 +00:00
Simon Knott
2b5493219b
chore: document typed array limitation ( #34649 )
2025-02-06 12:39:07 +01:00
Simon Knott
7aac96d780
chore: add encoded versions of IndexedDB key/value ( #34630 )
2025-02-06 09:48:30 +01:00
Playwright Service
25ef2f1344
feat(webkit): roll to r2130 ( #34631 )
2025-02-05 09:05:10 -08:00
Simon Knott
311625b891
feat: recreate IndexedDB in storagestate ( #34591 )
2025-02-05 15:01:53 +01:00
Yury Semikhatsky
fb3e8ed114
fix: reset APIRequestContext network trace between chunks ( #34616 )
2025-02-05 08:00:04 +00:00
Playwright Service
11913e6f39
feat(webkit): roll to r2127 ( #34599 )
2025-02-04 17:03:14 -08:00
Playwright Service
50e1a8b55b
feat(chromium-tip-of-tree): roll to r1300 ( #34610 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-04 16:06:35 +01:00
Simon Knott
5d82567346
feat: emulate `prefers-contrast` ( #34494 )
2025-02-04 11:15:51 +01:00
Max Schmitt
96d4dc1eda
docs: add backlink from WebSocket to WebSockeRoute ( #34600 )
2025-02-03 19:42:38 +01:00
Adam Gastineau
5996a0df0a
Revert "Revert "chore(docs): clarify connection method via BrowserType.connect ( #34560 )" ( #34594 )" ( #34595 )
2025-02-03 06:21:00 -08:00
Max Schmitt
3d5f85d7e4
Revert "chore(docs): clarify connection method via BrowserType.connect ( #34560 )" ( #34594 )
2025-02-03 14:24:33 +01:00
Playwright Service
36478f250a
feat(firefox): roll to r1474 ( #34587 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-03 12:04:12 +01:00
Playwright Service
162182b714
feat(firefox-beta): roll to r1470 ( #34589 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-03 10:47:37 +01:00
Playwright Service
399ba91150
feat(chromium-tip-of-tree): roll to r1299 ( #34569 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-31 19:35:12 +01:00
Playwright Service
64f8689a81
feat(chromium): roll to r1157 ( #34571 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-31 13:15:40 +01:00
GeneratorX16
4fa1d39c80
fix: Reverse Lumia 550 and Lumia 550 Landscape viewports ( #34548 )
2025-01-30 13:57:43 -08:00
Adam Gastineau
1936cfa6c3
chore(docs): clarify connection method via BrowserType.connect ( #34560 )
2025-01-30 12:31:59 -08:00
Adam Gastineau
5afb04b62e
fix(ui): add proper CORS header for loading traces in HMR mode ( #34558 )
2025-01-30 09:20:43 -08:00
Max Schmitt
833c729eb0
docs: roll follow-ups for .NET and Python ( #34550 )
2025-01-30 12:06:56 +01:00
Pavel Feldman
eff5cd6dbb
fix(aria): disregard text area textContent ( #34544 )
2025-01-29 16:06:07 -08:00
Playwright Service
b552637ee0
feat(chromium-tip-of-tree): roll to r1298 ( #34540 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-29 18:29:23 +01:00
Dmitry Gozman
7d8265e610
Revert "Reapply "fix(har timing): record connect timing for proxied connections" ( #32855 ) ( #33003 )" ( #34535 )
2025-01-29 14:51:31 +00:00
Andrey Lushnikov
b419527aab
fix(firefox): disable fetch keep-alive for now before a proper fix ( #34530 )
2025-01-29 09:50:32 +00:00
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