1073 Commits

Author SHA1 Message Date
Yury Semikhatsky
3ef9baa1d1
test: dialog.accept works in headless persistent context (#35955) 2025-05-14 16:04:21 -07:00
Henrik Skupin
7e36cb4059
(bidi) Add missing reference snapshots for "library/emulation-focus.spec.ts :: should not affect screenshots" (#35945) 2025-05-14 09:21:25 -07:00
Dmitry Gozman
191d912f20
feat(firefox): support custom policies.json (#35926) 2025-05-14 09:38:24 +01:00
Yury Semikhatsky
f38ee4e212
test: document third-party cookie behavior (#35918) 2025-05-12 16:09:14 -07:00
Dmitry Gozman
ec3e13b960
test: keepalive and workers fetch when offline (#35927) 2025-05-12 10:36:01 +01:00
Yury Semikhatsky
1d181ae608
devops: get rid of fd-slicer dependency and esbuild plugin hack (#35895) 2025-05-08 11:48:18 -07:00
Dmitry Gozman
33f811b2ae
fix(role): support alternative text in CSS content property (#35878) 2025-05-08 18:42:13 +01:00
Max Schmitt
cb74d37063
test: update Windows Modernizr test expecations (#35841) 2025-05-04 17:02:40 +02:00
Dmitry Gozman
9c4ea21529
chore(trace viewer): create injected/recorder in snapshots lazily (#35835) 2025-05-02 21:46:58 +01:00
Simon Knott
71eb3b9f0f
chore(webkit): polyfill PublicKeyCredential (#35702) 2025-05-02 14:56:57 +02:00
Dmitry Gozman
42ade54975
chore: use utilityScript handle in bindings (#35824) 2025-05-01 15:14:17 +01:00
Yury Semikhatsky
baeb065e9e
chore: remove underscore from public members in page (#35820) 2025-04-30 18:57:59 -07:00
Dmitry Gozman
6d3ee50a02
chore: remove setUnderTest (#35810) 2025-04-30 15:52:00 +01:00
Adam Gastineau
31aa65a600
chore(html): add new HTML title to dogfood feature (#35801) 2025-04-30 05:16:32 -07:00
Simon Knott
ed23a93512
fix(IndexedDB): don't crash on empty IDB (#35779) 2025-04-28 16:20:57 +02:00
Dmitry Gozman
edd25e3b83
fix(trace viewer): encode some urls inside style tags (#35705) 2025-04-24 10:53:48 +01:00
Yury Semikhatsky
8e8f8635f2
chore(bidi): rename snapshot files to match new channel names (#35695) 2025-04-22 12:26:57 -07:00
Pavel Feldman
11f2ce7d3b
revert(#35684): select options can be invisible (#35687) 2025-04-21 18:37:37 -07:00
Pavel Feldman
bd89ddaca4
chore(breaking): do not include hidden elements in aria snapshot (#35684) 2025-04-21 16:07:14 -07:00
microsoft-playwright-automation[bot]
4e3b01ff83
feat(webkit): roll to r2156 - enable Skia on Windows (#35595) 2025-04-14 10:05:04 -07:00
Dmitry Gozman
51a7b8f27f
test: unflake some network-tab related tests (#35574) 2025-04-10 15:18:34 +01:00
Dmitry Gozman
c9a1ad4d8d
chore: use a singleton "builtins" instead of passing it around (#35493) 2025-04-10 09:30:39 +01:00
Max Schmitt
9c01e1cbc8
test: skip 'should use http proxy for websocket requests on macOS 13 (#35563) 2025-04-09 23:21:03 +02:00
Max Schmitt
a8314361b0
test: adjust windows WebSocket test expectation (#35553) 2025-04-09 14:36:05 +02:00
Dmitry Gozman
a6d5c981af
Revert "feat: support proxy in connect/connectOverCDP (#35389)" (#35542) 2025-04-08 21:10:38 +01:00
Simon Knott
265e733752
test: add repro for broken cookies in frames in webkit on linux (#35510)
Signed-off-by: Simon Knott <info@simonknott.de>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2025-04-08 11:33:18 +02:00
Dmitry Gozman
4c85672f02
fix(role): <input type=file> should be a button (#35514) 2025-04-08 09:02:19 +01:00
Max Schmitt
76d5b8778c
fix: update performance.now() when calling in a busy loop (#35435) 2025-04-07 22:40:58 +02:00
Max Schmitt
9cb05c56f5
fix(tests): correct timeout duration in clock pause test (#35522) 2025-04-07 22:38:10 +02:00
Yury Semikhatsky
b8a0d5f6cd
chore: move injected scripts into packages/injected (#35483) 2025-04-03 16:09:03 -07:00
Dmitry Gozman
372f87339f
test: update "should create two pages in parallel" to include more scenarios (#35475) 2025-04-03 21:34:06 +01:00
Max Schmitt
81c6af0cc6
chore: remove unused 'x-playwright-reuse-context' header (#35414) 2025-03-31 09:28:09 +02:00
alscotty
cb7f1121ee
feat(trace-viewer): add copy to clipboard button of snapshot url on hover (#35213) (#35255)
Co-authored-by: Max Schmitt <max@schmitt.mx>
2025-03-28 14:39:29 +01:00
Dmitry Gozman
471a28e0d5
feat: support proxy in connect/connectOverCDP (#35389) 2025-03-28 12:03:54 +00:00
Dmitry Gozman
89386628db
test: check that browsers use proxy for websocket requests (#35348) 2025-03-26 21:33:53 +00:00
Simon Knott
3340855109
chore: support typed arrays in indexeddb (#34949) 2025-03-26 18:04:45 +01:00
Dmitry Gozman
0467c28722
chore: builtins (#35197) 2025-03-25 13:49:28 +00:00
Simon Knott
53ed2f601b
fix(library): indexedDB shouldn't stumble over null in Firefox (#35308) 2025-03-21 10:24:28 +01:00
Yury Semikhatsky
b83e0af11a
fix: do not allow to override cookie header (#35168)
Behavior before this PR regarding 'Cookie' header already varied between browsers:
- Chromium would not respect the 'Cookie' header if there was one with the same name in its cookie jar. If there was no corresponding cooke in the cookie jar, Chromium would apply one from the overrides.
- WebKit would always take one from the cookie jar.

To override cookies `addCookies` should be used instead.


See https://docs.google.com/document/d/1LXMSP4GVxFLYJxA6z4upKqwkgD-TnVCGeX-daS4VQjk/edit?usp=sharing for mode details.

Reference https://github.com/microsoft/playwright/issues/35154
2025-03-20 16:35:03 -07:00
Dmitry Gozman
195fe11e1b
fix(trace viewer): preserve dialog.showModal() elements (#35231) 2025-03-17 14:57:43 +00:00
Chris
beea7c30c5
feat: Add maxRedirects to options of apiRequest.newContext (#35160) 2025-03-17 13:47:52 +00:00
Max Schmitt
0b6b5ea7ab
fix(routeWebSocket): relative WebSocket URL (#35193) 2025-03-14 16:31:37 +01:00
Dmitry Gozman
49f03c87fc
chore: housekeeping after the last firefox roll (#35116) 2025-03-10 11:26:24 +00:00
Max Schmitt
bb0bdff815
chore: hide indexedDB in BrowserContext.storageState() by default (#35045) 2025-03-06 12:42:40 +01:00
Max Schmitt
6f99ad63dd
chore: hide indexedDB from storageState() and BrowserContext option (#35058) 2025-03-06 09:59:20 +01:00
epszaw
02a63fe9e8
feat: add ability to render base64-encoded trace recieved from window messages (#34976) 2025-03-04 10:56:01 -08:00
Dmitry Gozman
3ce9ae6a7d
chore: replace locator.visible with filter({ visible }) (#34947) 2025-02-27 13:44:53 +00:00
Simon Knott
10fc0ef221
chore: make indexeddb opt-in (#34942) 2025-02-27 14:27:54 +01:00
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