Skip to content

Commit 223f0e7

Browse files
Merge pull request #165 from Siddhantshukla814/updateMD
mobile_device.ini
2 parents a2757bc + 86e2911 commit 223f0e7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ _The default WPT server can also be specified via environment variable `WEBPAGET
120120
- **--injectScript** _\<string\>_: JavaScript to run after the document has started loading
121121
- **-E, --tester** _\<name\>_: run the test on a specific PC (name must match exactly or the test will not run)
122122
- **-W, --mobile**: (experimental) emulate mobile browser: Chrome mobile user agent, 640x960 screen, 2x scaling and fixed viewport (Chrome only)
123-
- **--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)
123+
- **--device** _\<string\>_: device name from [mobile_devices.ini](https://github.com/WPO-Foundation/webpagetest/blob/master/www/settings/mobile_devices.ini) to use for mobile emulation (only when --mobile is specified to enable emulation and only for Chrome)
124124
- **-M, --timeline**: capture Developer Tools Timeline (Chrome only)
125125
- **-J, --callstack**: set between 1-5 to include the JS call stack. must be used in conjunction with timeline (increases overhead) (Chrome only)
126126
- **-q, --chrometrace**: capture chrome trace (about://tracing) (Chrome only)
@@ -541,6 +541,7 @@ wpt.runTest(script, (err, data) => {
541541
- **minimumDuration**: _Number_, minimum test duration in seconds
542542
- **tester**: _String_, run the test on a specific PC (name must match exactly or the test will not run)
543543
- **emulateMobile**: _Boolean_, (experimental) emulate mobile browser: Chrome mobile user agent, 640x960 screen, 2x scaling and fixed viewport (Chrome only)
544+
- **device**: _String_, device name from [mobile_devices.ini](https://github.com/WPO-Foundation/webpagetest/blob/master/www/settings/mobile_devices.ini) to use for mobile emulation (only when emulateMobile=true is specified to enable emulation and only for Chrome)
544545
- **timeline**: _Boolean_, capture Developer Tools Timeline (Chrome only)
545546
- **timelineCallStack**: _Boolean_, set between 1-5 to include the JS call stack. must be used in conjunction with timeline (increases overhead) (Chrome only)
546547
- **chromeTrace**: _Boolean_, capture chrome trace (about://tracing) (Chrome only)

0 commit comments

Comments
 (0)