catchpoint / WebPageTest.agent

Cross-platform WebPageTest agent
Other
213 stars 138 forks source link

Added support for Chrome's native script injection #517

Closed pmeenan closed 2 years ago

pmeenan commented 2 years ago

This adds support for a boolean option injectScriptAllFrames that switches the normal best-effort script injection to use Chrome's native support (which injects into all frames, not just the document but guarantees execution before any page scripts).

Fixes https://github.com/WPO-Foundation/wptagent/issues/514