Skip to content

Commit fa53d34

Browse files
authored
Merge pull request #151 from mbrevda/master
feat: add support for injectScript
2 parents 0d4681e + dba9558 commit fa53d34

File tree

3 files changed

+757
-738
lines changed

3 files changed

+757
-738
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ _The default WPT server can also be specified via environment variable `WEBPAGET
105105
* **-K, --keepua**: do not add PTST to the original browser User Agent string
106106
* **-m, --dom** _\<element\>_: DOM element to record for sub-measurement
107107
* **-N, --duration** _\<seconds\>_: minimum test duration in seconds
108+
* **--injectScript** _\<string\>_: JavaScript to run after the document has started loading
108109
* **-E, --tester** _\<name\>_: run the test on a specific PC (name must match exactly or the test will not run)
109110
* **-W, --mobile**: (experimental) emulate mobile browser: Chrome mobile user agent, 640x960 screen, 2x scaling and fixed viewport (Chrome only)
110111
* **--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)

0 commit comments

Comments
 (0)