Skip to content

Commit

Permalink
Merge pull request #151 from mbrevda/master
Browse files Browse the repository at this point in the history
feat: add support for injectScript
  • Loading branch information
tkadlec committed Jan 18, 2022
2 parents 0d4681e + dba9558 commit fa53d34
Show file tree
Hide file tree
Showing 3 changed files with 757 additions and 738 deletions.
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

0 comments on commit fa53d34

Please sign in to comment.