/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
const { logTest } = require("./utils/profiling");
module.exports = logTest( "dns lookup pageload",
async function (context, commands) {
context.log.info("Starting a pageload to measure DNS lookup time");
// Idle to allow for confirmation
await commands.wait.byTime(45000);
if (testType === "trr_warm") { // Ensure the trr connection has been warmed up by making an arbitrary request
await commands.navigate("https://www.w3.org");
await commands.wait.byTime(2000);
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.