You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/custom-metrics/index.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,6 +89,7 @@ Usually custom metrics only have access to the DOM but WebPageTest supports a sc
89
89
***$WPT_REQUESTS** - All request data except for bodies (significantly smaller)
90
90
***$WPT_BODIES** - All request data including bodies in the "response_body" entry
91
91
***$WPT_ACCESSIBILITY_TREE** - Array of the nodes of the [Chromium Accessibility tree](https://chromedevtools.github.io/devtools-protocol/tot/Accessibility/#method-getFullAXTree) (with the DOM node info recorded in node_info for each node in the array)
92
+
***$WPT_URL** - String for the URL that WebPageTest last navigated to directly as part of the test
92
93
93
94
Non-Chrome browsers (or in the case of an error collecting the requests) the replacement will replace null instead of an array (so it can be checked explicitly and differently from an empty array). That should make it possible to use the same script across all browsers.
0 commit comments