From 49f1e219291e13e2922e1f267496bee212b1295d Mon Sep 17 00:00:00 2001 From: soulgalore Date: Mon, 23 Dec 2024 07:48:03 +0100 Subject: [PATCH] Pass on webpagereplay flag to browsertime --- lib/cli/cli.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/cli/cli.js b/lib/cli/cli.js index a1b9fdbe3c..eeaa6b979e 100644 --- a/lib/cli/cli.js +++ b/lib/cli/cli.js @@ -2236,6 +2236,11 @@ export async function parseCommandLine() { set(argv, 'browsertime.useHash', true); } + // Pass on webpagereplay setup to browsertime + if (argv.webpagereplay) { + set(argv, 'browsertime.webpagereplay', true); + } + if (argv.browsertime.docker) { set(argv, 'browsertime.video', get(argv, 'browsertime.video', true)); set(