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 soulgalore
parent eec502827e
commit a8bae5539c
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)`;
}