playwright/src/server/injected
Dmitry Gozman d4482f3ad3
chore: do not use Array.from in injected script (#6876)
This method is most often overridden by some bad polyfill that
does not work correctly and breaks `$eval` and `$$eval` methods.

As a best-effort fix, use a `[...iterable]` throughout the code.
2021-06-03 15:10:02 -07:00
..
injectedScript.ts chore: do not use Array.from in injected script (#6876) 2021-06-03 15:10:02 -07:00
injectedScript.webpack.config.js chore(webpack): minify injected sources (#4946) 2021-01-08 16:15:05 -08:00
README.md chore: move injected and debug to src/server (#3591) 2020-08-23 20:25:59 -07:00
selectorEngine.ts feat(cli): bring selector generator into playwright (#4795) 2020-12-23 12:44:47 -08:00
selectorEvaluator.ts chore: do not use Array.from in injected script (#6876) 2021-06-03 15:10:02 -07:00
utilityScript.ts chore: spell overridden (#5605) 2021-02-24 15:11:34 -08:00
utilityScript.webpack.config.js chore(webpack): minify injected sources (#4946) 2021-01-08 16:15:05 -08:00
webpack-inline-source-plugin.js chore(webpack): minify injected sources (#4946) 2021-01-08 16:15:05 -08:00
xpathSelectorEngine.ts feat(selectors): always make xpath relative (#5252) 2021-02-02 13:27:16 -08: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.