playwright/tests
Dmitry Gozman 8c19f71c36
feat(selectors): role selector engine (#12999)
This introduces `role=button[name="Click me"][pressed]` attribute-style
role selector. It is only available under `env.PLAYWRIGHT_EXPERIMENTAL_FEATURES`.

Supported attributes:
- `role` is required, for example `role=button`;
- `name` is accessible name, supports matching operators and regular expressions:
  `role=button[name=/Click(me)?/]`;
- `checked` boolean/mixed, for example `role=checkbox[checked=false]`;
- `selected` boolean, for example `role=option[selected]`;
- `expanded` boolean, for example `role=button[expanded=true]`;
- `disabled` boolean, for example `role=button[disabled]`;
- `level` number, for example `role=heading[level=3]`;
- `pressed` boolean/mixed, for example `role=button[pressed="mixed"]`;
- `includeHidden` - by default, only non-hidden elements are considered.
   Passing `role=button[includeHidden]` matches hidden elements as well.
2022-03-28 09:24:58 -07:00
..
android chore: group tests under tests/ (2) (#13082) 2022-03-25 23:09:02 -07:00
assets feat(aria): introduce role utils (#12916) 2022-03-21 17:26:45 -07:00
components fix(tests): remove lock from component tests, test real experience (#13095) 2022-03-26 13:54:33 -07:00
config chore: group tests under tests/ (2) (#13082) 2022-03-25 23:09:02 -07:00
electron chore: group tests under tests/ (2) (#13082) 2022-03-25 23:09:02 -07:00
library fix(tests): fix selenium installation tests 2022-03-26 08:36:25 -07:00
page feat(selectors): role selector engine (#12999) 2022-03-28 09:24:58 -07:00
playwright-test chore: group tests under tests/ (2) (#13082) 2022-03-25 23:09:02 -07:00
index.d.ts test: added tests for WebSocket over Socks proxy (#7235) 2021-06-24 18:50:16 +02:00
tsconfig.json chore: group tests under tests/ (2) (#13082) 2022-03-25 23:09:02 -07:00