playwright/packages/playwright-core/src/server/injected
Max Schmitt b06c1dfff1
Revert "fix(highlight): highlight Top Layer elements (#30001)" (#30800)
This reverts commit a932222662.

Closes https://github.com/microsoft/playwright/pull/30797 - maybe there
is a better way to get the page height?
`document.documentElement.scrollHeight` seems to not work on Firefox.
Relates https://github.com/microsoft/playwright/issues/30770
2024-05-14 17:23:52 +01:00
..
recorder fix(codegen): prevent csp directive violations (#30366) 2024-04-23 07:33:12 -07:00
.eslintrc.js chore: implement pick locator in trace viewer (#20965) 2023-02-17 11:19:53 -08:00
consoleApi.ts fix(console-api): locator filter with hasText (#29563) 2024-02-20 17:35:11 +01:00
DEPS.list chore: flatten supplements (#13437) 2022-04-08 12:52:40 -07:00
domUtils.ts chore: remove redundant parameters from isElementStyleVisibilityVisible (#30637) 2024-05-08 17:45:53 +01:00
highlight.css fix(codegen): prevent csp directive violations (#30366) 2024-04-23 07:33:12 -07:00
highlight.ts Revert "fix(highlight): highlight Top Layer elements (#30001)" (#30800) 2024-05-14 17:23:52 +01:00
injectedScript.ts feat: expect(locator).toHaveRole(role) (#30555) 2024-04-25 15:26:10 -07: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 Revert "chore(role): cache element list by role (#29130)" (#29765) 2024-03-01 09:37:28 -08:00
roleUtils.ts chore: fix typos (#30645) 2024-05-08 19:40:03 +01: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 fix(selector generator): properly escape re used in has-text (#30767) 2024-05-13 12:40:46 -07: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: strengthen linting (#29669) 2024-02-26 16:52:28 -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.