Skip to content

Commit 2ccb9f0

Browse files
committed
added google csi command/method
1 parent b9f0d90 commit 2ccb9f0

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ $ webpagetest --help
5252
* **console** _[options] \<id\>_: get the browser console log data (if available) from test
5353
* **testinfo** _\<id\>_: get test request info/details
5454
* **history** _[days]_: get history of previously run tests
55+
* **googlecsi** _[options] \<id\>_: get Google CSI data (Client Side Instrumentation)
5556
* **waterfall** _[options] \<id\>_: get the waterfall PNG image
5657
* **screenshot** _[options] \<id\>_: get the fully loaded page screenshot in JPG format (PNG if in full resolution)
5758
* **video** _[options] \<tests\>_: create a video from _\<tests\>_ (comma separated test ids)
@@ -132,7 +133,7 @@ _The default WPT server can also be specified via environment variable `WEBPAGET
132133
* **-S, --specs** _\<json_or_file\>_: set the specs for performance test suite
133134
* **-r, --reporter** _\<name\>_: set performance test suite reporter output: [dot]|spec|tap|xunit|list|progress|min|nyan|landing|json|doc|markdown|teamcity
134135

135-
#### Run (works for **pagespeed**, **utilization**, **request**, **timeline**, **netlog**, **console**, **waterfall** and **screenshot** commands)
136+
#### Run (works for **pagespeed**, **utilization**, **request**, **timeline**, **netlog**, **console**, **googlecsi**, **waterfall** and **screenshot** commands)
136137
* **-r, --run** _\<number\>_: which run number on a multiple runs test [1]
137138
* **-c, --cached**: get the Repeat View (cached view) instead of default First View (primed cache)
138139

@@ -322,6 +323,7 @@ Methods and options (including the one letter shorthands) are the same when usin
322323
* `getConsoleLogData(id, options, callback)`
323324
* `getTestInfo(id, options, callback)`
324325
* `getHistory(days, options, callback)`
326+
* `getGoogleCsiData(id, options, callback)`
325327
* `getWaterfallImage(id, options, callback)`
326328
* `getScreenshotImage(id, options, callback)`
327329
* `createVideo(tests, options, callback)`
@@ -436,7 +438,7 @@ wpt.runTest(script, function(err, data) {
436438
* **specs**: _String_, set the specs for performance test suite
437439
* **reporter**: _String_, set performance test suite reporter output: [dot]|spec|tap|xunit|list|progress|min|nyan|landing|json|doc|markdown|teamcity
438440

439-
#### Run (works for `getPageSpeedData`, `getUtilizationData`, `getRequestData`, `getTimelineData`, `getNetLogData`, `getConsoleLogData`, `getWaterfallImage` and `getScreenshotImage` methods)
441+
#### Run (works for `getPageSpeedData`, `getUtilizationData`, `getRequestData`, `getTimelineData`, `getNetLogData`, `getConsoleLogData`, `getGoogleCsiData`, `getWaterfallImage` and `getScreenshotImage` methods)
440442
* **run**: _Number_, the test run number for multiple runs tests (default: 1, first test)
441443
* **repeatView**: _Boolean_, if `true` returns the repeat view (cached) data
442444

0 commit comments

Comments
 (0)