1005 Commits

Author SHA1 Message Date
Pavel Feldman
0109882a66
docs: add example w/ params for locator.evaluate (#35645) 2025-04-16 19:34:56 -07:00
Max Schmitt
22e134e280
chore: introduce expect.toContainClass (instead of partial: true) (#35551)
Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2025-04-09 14:47:22 +02:00
Dmitry Gozman
a6d5c981af
Revert "feat: support proxy in connect/connectOverCDP (#35389)" (#35542) 2025-04-08 21:10:38 +01:00
Ekwinder
aec54fa573
docs(python): Add await to response.json() for async ApiResponse class example (#35503) 2025-04-07 08:56:25 +02:00
Dmitry Gozman
471a28e0d5
feat: support proxy in connect/connectOverCDP (#35389) 2025-03-28 12:03:54 +00:00
Simon Knott
3340855109
chore: support typed arrays in indexeddb (#34949) 2025-03-26 18:04:45 +01:00
Dmitry Gozman
b3d19e2f80
docs: clarify locator.evaluate{,Handle} timeout option (#35319) 2025-03-21 20:09:31 +00: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
Max Schmitt
fbffb8152f
chore: add toHaveClass partial option (#35229) 2025-03-20 21:20:50 +01:00
Chris
beea7c30c5
feat: Add maxRedirects to options of apiRequest.newContext (#35160) 2025-03-17 13:47:52 +00:00
Dmitry Gozman
accd7c6c9e
docs: clarify that userDataDir cannot be used concurrently (#35228) 2025-03-17 11:11:45 +00:00
Chris
deaa714ab4
docs: Update outdated links & broken anchors (#35181)
Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2025-03-13 10:41:02 +01:00
Pavel Feldman
807d9066d6
chore: allow generating aria references (#35132) 2025-03-10 14:39:37 -07:00
Max Schmitt
6f99ad63dd
chore: hide indexedDB from storageState() and BrowserContext option (#35058) 2025-03-06 09:59:20 +01:00
Dmitry Gozman
9e0be8ee7c
chore: unblock 1.51 dotnet roll (#35016) 2025-03-04 15:01:15 +00:00
Yury Semikhatsky
cd437c972d
fix: do not change glob pattern when converting to url (#34923) 2025-02-28 13:44:25 -08:00
Dmitry Gozman
8d8c9a55cd
docs: js release notes for 1.51 (#34972)
Signed-off-by: Dmitry Gozman <dgozman@gmail.com>
Co-authored-by: Simon Knott <info@simonknott.de>
2025-02-28 13:22:51 +00:00
Simon Knott
2573a80893
chore: change recommended snapshot extension to .aria.yml (#34963) 2025-02-28 10:03:39 +01:00
Adam Gastineau
b0ceed51a5
docs: Improve toHaveURL doc clarity (#34935) 2025-02-27 11:00:50 -08:00
Dmitry Gozman
3ce9ae6a7d
chore: replace locator.visible with filter({ visible }) (#34947) 2025-02-27 13:44:53 +00:00
Simon Knott
837abfbc15
chore: document indexeddb type as "unknown" (#34944) 2025-02-27 14:29:22 +01: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
Simon Knott
17c4d8e5ec
chore: change generated filename for toMatchAriaSnapshot from .yml to .snapshot.yml (#34931)
Signed-off-by: Simon Knott <info@simonknott.de>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2025-02-26 16:29:56 +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
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
JacksonLei123
5a76b17c87
feat: add failOnStatusCode option to API request context (#34346) 2025-02-11 13:23:11 -08:00
Max Schmitt
967c4f5e3b
chore: fix Locator type issues (#34705) 2025-02-10 13:05:17 +01:00
Simon Knott
902e83fe87
fix: allow opt out from IndexedDB in storagestate (#34650) 2025-02-06 16:40:14 +01: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
Simon Knott
311625b891
feat: recreate IndexedDB in storagestate (#34591) 2025-02-05 15:01:53 +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
Adam Gastineau
1936cfa6c3
chore(docs): clarify connection method via BrowserType.connect (#34560) 2025-01-30 12:31:59 -08:00
Max Schmitt
833c729eb0
docs: roll follow-ups for .NET and Python (#34550) 2025-01-30 12:06:56 +01:00
Dmitry Gozman
ba650161a8
feat: per-assertion snapshot path template in config (#34537) 2025-01-29 18:47:20 +00:00
Adam Gastineau
b39c29d096
docs: remove toMatchAriaSnapshot path feature (#34471) 2025-01-24 21:16:58 +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
Pavel Feldman
9970446f51
chore: remove toMatchAriaSnapshot.path (#34379) 2025-01-17 14:35:15 -08:00
Yury Semikhatsky
40b92eaf2a
docs: remove toMatchAriaSnapshot({path}) from language ports (#34363) 2025-01-16 16:56:13 -08:00
Yury Semikhatsky
587e778a5a
Revert "feat(aria): extend toHaveAccessibleName() to accept an array … (#34361) 2025-01-16 15:04:56 -08:00
Yury Semikhatsky
8d39c44b69
docs: improve toHaveClass paramter description (#34345) 2025-01-15 14:38:34 -08:00
Pavel Feldman
b0f0a2951a
docs: improve aria overload docs (#34319) 2025-01-13 18:25:57 -08:00
Simon Knott
75d2661497
docs: fix android launchBrowser.pkg option (#34262) 2025-01-10 10:51:29 +01:00