Dmitry Gozman
9faf551743
docs: introduce struct names for ports ( #39931 )
2026-03-30 16:20:54 +01:00
Yury Semikhatsky
3fc7623783
docs(locator): clarify Java List return types ( #39910 )
2026-03-27 13:59:46 -07:00
Dmitry Gozman
f2429c145b
chore: make sure locator.ariaSnapshot() behaves as before ( #39874 )
2026-03-26 16:39:56 +00:00
Dmitry Gozman
613acd49e7
chore: remove incremental aria snapshots from the api ( #39777 )
2026-03-20 04:25:52 +00:00
Dmitry Gozman
c45b0d5ef6
chore: merge snapshotForAI() into ariaSnapshot() ( #39759 )
2026-03-19 14:13:03 +00:00
Pavel Feldman
12a32e240a
feat(api): revert Locator.toCode() back to Locator.normalize() ( #39754 )
2026-03-18 15:48:05 -07:00
Pavel Feldman
21c1cfce64
chore: simplify snapshotForAI to return string with mode option ( #39755 )
2026-03-18 15:47:55 -07:00
Dmitry Gozman
35f853d5c2
feat: aria snapshot depth ( #39727 )
2026-03-18 13:17:51 +00:00
Dmitry Gozman
cba36ec67b
feat: playwright-cli snapshot [element] ( #39643 )
2026-03-13 21:20:11 +00:00
Pavel Feldman
75b14a3361
feat(api): open api needed for mcp (2) ( #39648 )
2026-03-12 16:35:24 -07:00
Pavel Feldman
43c33729de
feat(api): open api needed for mcp ( #39646 )
2026-03-12 13:30:07 -07:00
Chris
1a51420afa
feat: Expose types and documentation for Locator.toString ( #38633 )
...
Signed-off-by: Chris <57954026+cpAdm@users.noreply.github.com >
Co-authored-by: Pavel Feldman <pavel.feldman@gmail.com >
2025-12-26 08:49:02 -08:00
Adam Gastineau
cba582647b
feat(locator): extend mouse movement steps to dragTo ( #38184 )
2025-11-12 07:11:22 -08:00
Yury Semikhatsky
590d5d32a4
chore: locator.description improvements ( #38183 )
2025-11-11 11:36:25 -08:00
Adam Gastineau
bf92ffecff
feat(locator): click mouse movement steps ( #38036 )
2025-10-30 06:23:50 -07:00
Yury Semikhatsky
1604a2e255
feat: add Locator.description() getter ( #37870 )
2025-10-15 11:51:01 -07:00
papple23g
0fb8027124
docs: fix Python method name in Locator.and example ( #37251 )
...
Co-authored-by: papple23g <papple12g@gmail.com >
2025-09-01 08:51:04 +02:00
Max Schmitt
2e57a78da8
chore: add release notes for v1.53 ( #36196 )
2025-06-04 16:10:51 +01:00
Pavel Feldman
313de29fab
feat(locator): introduce locator.describe() ( #35969 )
2025-05-16 13:40:47 -07:00
Pavel Feldman
f89d0ae870
chore: make refs & emitGeneric private for mcp ( #35888 )
2025-05-08 08:33:10 -07:00
Pavel Feldman
7ec70c61d7
feat(aria): emit generic nodes ( #35686 )
2025-04-21 17:36:10 -07:00
Pavel Feldman
0109882a66
docs: add example w/ params for locator.evaluate ( #35645 )
2025-04-16 19:34:56 -07:00
Dmitry Gozman
b3d19e2f80
docs: clarify locator.evaluate{,Handle} timeout option ( #35319 )
2025-03-21 20:09:31 +00:00
Pavel Feldman
807d9066d6
chore: allow generating aria references ( #35132 )
2025-03-10 14:39:37 -07:00
Dmitry Gozman
3ce9ae6a7d
chore: replace locator.visible with filter({ visible }) ( #34947 )
2025-02-27 13:44:53 +00: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
Sang Nguyen
e4ceac8e4c
docs: correct closing tags for option elements in HTML examples ( #34874 )
2025-02-21 09:38:47 +01:00
Max Schmitt
833c729eb0
docs: roll follow-ups for .NET and Python ( #34550 )
2025-01-30 12:06:56 +01:00
Pavel Feldman
039f513744
docs: auto generate evaluate usage docs ( #34458 )
2025-01-23 12:11:54 -08:00
Pavel Feldman
b0f0a2951a
docs: improve aria overload docs ( #34319 )
2025-01-13 18:25:57 -08:00
Yury Semikhatsky
809225503c
docs: remove note about DataTrander limited availability ( #34243 )
2025-01-07 15:42:10 -08:00
Evan Cahill
c89e213eff
docs: Use locator.first() in locator.or examples ( #34106 )
2024-12-20 13:23:01 -08:00
Pavel Feldman
a25bda6950
chore: allow storing aria snapshots in files ( #33919 )
2024-12-10 11:45:16 -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
Yury Semikhatsky
f5477d9051
docs: add ariaSnapshot.timeout for language ports ( #33614 )
2024-11-14 12:23:42 -08:00
Pavel Feldman
a655b0bfb3
chrome: aria api review ( #33458 )
2024-11-05 15:23:38 -08:00
Pavel Feldman
8b49d568de
docs: start adding the aria snapshot documentation ( #33407 )
2024-11-04 10:53:46 -08:00
Pavel Feldman
94321fef1c
chore: implement locator.ariaSnapshot ( #33125 )
2024-10-15 18:47:26 -07:00
Max Schmitt
895be9f8de
chore: lint java docs snippets ( #32945 )
2024-10-04 11:34:04 +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
Mathias Leppich
281eff1209
docs(trial): note that modifier keys are pressed regardless of trial option ( #32734 )
2024-09-23 22:17:47 +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
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
Dmitry Gozman
6491e5b415
chore: deprecate/remove noWaitAfter from some actions ( #31739 )
...
The following actions keep `noWaitAfter` option: `click`, `selectOption`
and `press`.
All other actions that used to have `noWaitAfter` now behave like it was
set to true, not waiting for follow-up navigations. In the docs, this
option is marked as completely ignored.
A small logic change was made to compensate for this behavior: when
waiting for the `hitTargetInterceptor`, we now race it against
navigations to avoid stalling when navigation stalls. Previously,
waiting for the interceptor was disabled when `noWaitAfter` was passed,
and since it's impossible to pass this option now, we mitigate by never
stalling instead.
Fixes #31469 .
2024-07-18 00:19:08 -07:00
Max Schmitt
a76e5824c0
docs: examples for file directory upload ( #31302 )
2024-06-13 23:37:47 +02:00
Max Schmitt
dcf4e4e054
feat: allow folder uploads ( #31165 )
2024-06-12 22:20:18 +02:00
Dmitry Gozman
a5d384c1f6
docs: add section explaining scrolling ( #30719 )
...
Fixes #30643 .
2024-05-08 21:04:05 -07:00
Pavel Feldman
96f3d19819
feat(ctrl_or_meta): add a universal ctrl-meta modifier ( #30572 )
...
Fixes https://github.com/microsoft/playwright/issues/12168
2024-04-29 08:15:12 -07:00
Dmitry Gozman
6d20da568e
feat: expect(locator).toHaveRole(role) ( #30555 )
...
References #13517 . Fixes #18332 .
2024-04-25 15:26:10 -07:00