playwright/packages/playwright-core/src/server
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: disambiguate internal flags (#12866) 2022-03-17 18:27:33 -07:00
chromium Revert "chore: align setInputFiles in webkit with other browsers (#13011)" (#13021) 2022-03-24 07:46:37 -07:00
common feat(locator): "has" option (#11411) 2022-02-02 16:55:50 -08:00
electron chore: disambiguate internal flags (#12866) 2022-03-17 18:27:33 -07:00
firefox feat: large files upload in ff and wk (#12937) 2022-03-25 13:26:12 -07:00
injected feat(selectors): role selector engine (#12999) 2022-03-28 09:24:58 -07:00
supplements chore: disambiguate internal flags (#12866) 2022-03-17 18:27:33 -07:00
trace chore: migrate trace-viewer and recorder to vite (#13076) 2022-03-25 14:12:00 -07:00
webkit feat: large files upload in ff and wk (#12937) 2022-03-25 13:26:12 -07:00
accessibility.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
artifact.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
browser.ts chore: do not initialize full sessions for pages used in session restore (#12886) 2022-03-18 18:17:37 -07:00
browserContext.ts chore: do not initialize full sessions for pages used in session restore (#12886) 2022-03-18 18:17:37 -07:00
browserType.ts chore: improve handling with missing xserver (#12724) 2022-03-18 22:39:11 +01:00
console.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
cookieStore.ts fix(fetch): send secure cookies for http://localhost requests (#12450) 2022-03-02 09:33:30 -08:00
deviceDescriptors.js chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
deviceDescriptorsSource.json feat(chromium): roll to r983172 (#12995) 2022-03-23 20:34:23 +01:00
dialog.ts fix(chromium): close all javascript dialogs when closing context (#11614) 2022-01-25 13:52:18 -08:00
dom.ts feat(selectors): role selector engine (#12999) 2022-03-28 09:24:58 -07:00
download.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
fetch.ts fix(fetch): always return non-empty body regardless of request method (#12102) 2022-02-15 09:06:21 -08:00
fileChooser.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
formData.ts fix: compute file field mime type on the server (#10394) 2021-11-17 18:12:26 -08:00
frames.ts feat(chromium): large file uploads (#12860) 2022-03-18 09:00:52 -07:00
helper.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
input.ts feat(input): restore modified layout shift check (#11032) 2022-01-03 17:46:04 -08:00
instrumentation.ts chore: migrate trace-viewer and recorder to vite (#13076) 2022-03-25 14:12:00 -07:00
javascript.ts fix(evaluate): reject all context operations when frame detaches (#9987) 2021-11-03 10:44:50 -07:00
macEditingCommands.ts feat(keyboard): support simple copy-pasting using meta+c/v (#10828) 2022-02-28 13:43:43 -08:00
network.ts feat(route): add cors header in route.fulfill (#12943) 2022-03-25 14:56:57 -07:00
page.ts Revert "chore: align setInputFiles in webkit with other browsers (#13011)" (#13021) 2022-03-24 07:46:37 -07:00
pipeTransport.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
playwright.ts chore: disambiguate internal flags (#12866) 2022-03-17 18:27:33 -07:00
progress.ts chore: implement locator._highlight / playwright._hideHighlight (#11339) 2022-01-12 07:37:48 -08:00
protocolError.ts chore: move some files out of server/common (#11466) 2022-01-18 19:13:51 -08:00
screenshotter.ts fix(screenshot): do not stall on hideHighlight (#12764) 2022-03-15 14:13:45 -07:00
selectors.ts feat(selectors): role selector engine (#12999) 2022-03-28 09:24:58 -07:00
transport.ts chore: use transport for BrowserType.connect (#12196) 2022-02-17 20:48:14 -08:00
types.ts chore: migrate trace-viewer and recorder to vite (#13076) 2022-03-25 14:12:00 -07:00
usKeyboardLayout.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00