playwright/packages/playwright-core/src/server/injected
Dmitry Gozman f5de6e5538
feat(codegen): generate multiple selectors to choose from (#29154)
When possible, "pick locator" generates:
- default locator;
- locator without any text;
- locator without css `#id`.

Fixes #27875, fixes #5178.
2024-01-25 07:35:58 -08:00
..
recorder feat(codegen): generate multiple selectors to choose from (#29154) 2024-01-25 07:35:58 -08:00
.eslintrc.js chore: implement pick locator in trace viewer (#20965) 2023-02-17 11:19:53 -08:00
consoleApi.ts fix(recorder): disallow external imports (#29129) 2024-01-23 11:29:40 -08:00
DEPS.list chore: flatten supplements (#13437) 2022-04-08 12:52:40 -07:00
domUtils.ts fix(electron/android): re-add Element.prototype.checkVisibility check (#28173) 2023-11-15 15:10:13 -08:00
highlight.css feat(codegen): generate multiple selectors to choose from (#29154) 2024-01-25 07:35:58 -08:00
highlight.ts feat(codegen): generate multiple selectors to choose from (#29154) 2024-01-25 07:35:58 -08:00
injectedScript.ts fix(recorder): disallow external imports (#29129) 2024-01-23 11:29:40 -08:00
layoutSelectorUtils.ts feat(locator): layout options (leftOf, rightOf, above, below, near) (#13821) 2022-05-03 10:33:33 +01:00
reactSelectorEngine.ts feat: Support React forwards refs and memo (#23262) 2023-05-30 17:14:47 -07:00
README.md chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
roleSelectorEngine.ts chore(role): cache element list by role (#29130) 2024-01-23 13:45:26 -08:00
roleUtils.ts chore(role): cache element list by role (#29130) 2024-01-23 13:45:26 -08:00
selectorEngine.ts chore: refactor code around text selectors (#19278) 2022-12-05 14:08:54 -08:00
selectorEvaluator.ts chore: speedup frequent element text normalization (#29113) 2024-01-22 21:33:56 -08:00
selectorGenerator.ts feat(codegen): generate multiple selectors to choose from (#29154) 2024-01-25 07:35:58 -08:00
selectorUtils.ts chore: speedup frequent element text normalization (#29113) 2024-01-22 21:33:56 -08:00
utilityScript.ts chore: make evaluate work with busted Array.prototype.map/push (#22528) 2023-04-21 19:52:13 +02:00
vueSelectorEngine.ts chore: move sever/isomorphic to utils/ to use it in client (#21445) 2023-03-06 18:49:14 -08:00
xpathSelectorEngine.ts chore: do not use relative xpath when querying from document (#24405) 2023-07-25 12:55:35 -07:00

Injected

This directory contains helper sources which are injected into the page.

These sources are bundled with webpack to src/generated to be used as a compile-time source constants. See *.webpack.config.js for configs.