From 076333e47f45f547e104d8324cbb6f23ac402fea Mon Sep 17 00:00:00 2001 From: Peter Hedenskog Date: Sat, 28 Mar 2026 12:52:45 +0100 Subject: [PATCH] Change pre-load script Change-Id: Id58c71cbb23b01d0f790dbc53179bf9d0519255c --- test/data/commandscripts/firefox.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/data/commandscripts/firefox.cjs b/test/data/commandscripts/firefox.cjs index 8c84c49c4..28e849851 100644 --- a/test/data/commandscripts/firefox.cjs +++ b/test/data/commandscripts/firefox.cjs @@ -3,7 +3,7 @@ module.exports = async function (context, commands) { const params = { method: 'script.addPreloadScript', params: { - functionDeclaration: 'function(){alert("hepp");}' + functionDeclaration: 'function(){window.__preloadScriptRan=true;}' } };