Include preURL info in the latest storer information (#3729)

This commit is contained in:
Peter Hedenskog 2022-09-22 10:14:24 +02:00 committed by GitHub
parent 26f375f3ed
commit 2d72fb3310
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -161,6 +161,11 @@ module.exports = {
json.browser.version
}`;
if (options.browsertime && options.browsertime.preURL) {
json.preURL = options.browsertime.preURL;
json.friendlyHTML += ` first visiting <a href="${options.browsertime.preURL}">${options.browsertime.preURL}</a>`;
}
if (options.mobile) {
json.friendlyHTML += ` (emulating mobile)`;
}