jackdbd/wpt unofficial action
Run performance audits with WebPageTest
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| api_key | WebPageTest API key. | yes | — |
| block_urls | Requests to these URLs will be blocked. Useful for blocking any third-party scripts on the page you are testing. | — | — |
| browser | Browser to use for the test. Keep in mind that not all WebPageTest locations support all browsers. | — | Chrome |
| connectivity | Connection profile to use for the test. | — | Cable |
| disable_javascript | If `true`, WebPageTest will block any JavaScript on the page. | — | false |
| emulate_mobile | If set to `true`, Chrome will emulate a mobile browser by adjusting the screen resolution, UA string and providing a fixed viewport. | — | false |
| first_view_only | Set this to `true` to skip the Repeat View test; set it to `false` to run a test against both the first view and the repeat view for a given test. | — | false |
| label | A label for the test. Handy for identifying the test on the WebPageTest web UI. | — | — |
| location | Identifier for a WebPageTest server. | — | Dulles |
| pingback | URL to ping when the test is complete. The test ID will be passed as an `id` parameter. | — | — |
| private | Whethere the test should be visible in the public history log. | — | true |
| runs | Number of runs to perform in a test. | — | 1 |
| tcpdump | If true, WebPageTest will capture TCP packets using tcpdump. | — | false |
| url | URL to test with WebPageTest. | yes | — |
| video | Whether to create a filmstrip to show how a web page loads. | — | false |
| wpt_server | WebPageTest server | — | www.webpagetest.org |
Outputs
| name | description |
|---|---|
| data | Object containing the WebPageTest test id and links to WPT results. |