1054 Commits

Author SHA1 Message Date
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
Dmitry Gozman
ed0bf35435
feat: locator.visible (#34905) 2025-02-25 11:48:15 +00:00
Yury Semikhatsky
65910c4ac5
test: unskip "should preserve cookie order from Set-Cookie header" (#34888) 2025-02-21 10:04:01 -08:00
Pavel Feldman
024a52821a
chore: init eventEmitter w/ platform (#34809) 2025-02-14 17:06:11 -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
Pavel Feldman
3d760b657b
chore: move debug, env and user agent from utils/ (#34766) 2025-02-12 19:27:24 -08:00
Yury Semikhatsky
bab197b493
test: adjust bidi browser name in browsertype-connect.spec (#34758) 2025-02-12 18:04:42 -08:00
Pavel Feldman
0eeba380f2
chore: move crypto to server/util/ (#34759) 2025-02-12 14:43:52 -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
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
Yury Semikhatsky
934600b24b
test: reenable 2 screenshot tests on wk mac (#34735) 2025-02-11 15:21:15 -08:00
JacksonLei123
5a76b17c87
feat: add failOnStatusCode option to API request context (#34346) 2025-02-11 13:23:11 -08:00
Max Schmitt
416c9b3368
fix: allow relative userDataDir (#34710) 2025-02-11 17:40:00 +01:00
Pavel Feldman
2718ce7cbf
chore: short-cut localUtils usage in JS client (#34690) 2025-02-10 14:19:58 -08:00
Adam Gastineau
ad6444e14c
chore(test): perform action to guarantee URL updates (#34714) 2025-02-10 12:57:25 -08:00
Pavel Feldman
5d500dde22
chore: introduce platform for client (1) (#34683) 2025-02-10 10:22:32 -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