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(