Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for injectScript #151

Merged
merged 3 commits into from
Jan 18, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ _The default WPT server can also be specified via environment variable `WEBPAGET
* **-K, --keepua**: do not add PTST to the original browser User Agent string
* **-m, --dom** _\<element\>_: DOM element to record for sub-measurement
* **-N, --duration** _\<seconds\>_: minimum test duration in seconds
* **--injectScript** _\<string\>_: JavaScript to run after the document has started loading
* **-E, --tester** _\<name\>_: run the test on a specific PC (name must match exactly or the test will not run)
* **-W, --mobile**: (experimental) emulate mobile browser: Chrome mobile user agent, 640x960 screen, 2x scaling and fixed viewport (Chrome only)
* **--device** _\<string\>_: device name from mobile_devices.ini to use for mobile emulation (only when mobile=1 is specified to enable emulation and only for Chrome)
Expand Down