summaryrefslogtreecommitdiffstats
path: root/testing/performance/hooks_recording.py
diff options
context:
space:
mode:
Diffstat (limited to 'testing/performance/hooks_recording.py')
-rw-r--r--testing/performance/hooks_recording.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/performance/hooks_recording.py b/testing/performance/hooks_recording.py
index e35f5f4d94..072cbfb727 100644
--- a/testing/performance/hooks_recording.py
+++ b/testing/performance/hooks_recording.py
@@ -144,6 +144,12 @@ def before_runs(env):
for pref, val in prefs.items():
add_option(env, "firefox.preference", f"{pref}:{val}")
+ # Add prefs that will attempt to remove cookie banners
+ add_option(
+ env, "firefox.preference", "cookiebanners.bannerClicking.enabled:true"
+ )
+ add_option(env, "firefox.preference", "cookiebanners.service.mode:2")
+
second_url = test_site.get("secondary_url", None)
if second_url:
add_option(env, "browsertime.secondary_url", second_url)