playwright/packages/playwright-core/src/server/injected
Andrey Lushnikov a89fe3ec5c
fix: support shadow DOM with Vue and React selectors (#10742)
There were two issues:
- we did not find VDom roots inside shadow DOM
- we incorrectly relied on DOM's `contain` method to determine if
  VDom's rendered node belongs to requested scope.

Fixes #10123
2021-12-07 11:23:37 -08:00
..
injectedScript.ts feat(fill): support color and range input types (#10736) 2021-12-06 15:43:10 -08:00
reactSelectorEngine.ts fix: support shadow DOM with Vue and React selectors (#10742) 2021-12-07 11:23:37 -08:00
README.md chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
selectorEngine.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
selectorEvaluator.ts fix: support shadow DOM with Vue and React selectors (#10742) 2021-12-07 11:23:37 -08:00
selectorGenerator.ts chore: escape CSS selectors in codegen correctly (#10608) 2021-11-30 21:13:41 +01:00
utilityScript.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
vueSelectorEngine.ts fix: support shadow DOM with Vue and React selectors (#10742) 2021-12-07 11:23:37 -08:00
webpack.config.js chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
xpathSelectorEngine.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02: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.