Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

Prevent Firefox from creating shortcuts (#27412)

Anthony Vanelverdinghe5295d468ad43
diff --git a/browser_patches/firefox/preferences/playwright.cfg b/browser_patches/firefox/preferences/playwright.cfg
index 6c33bd2545..1315c1be8b 100644
--- a/browser_patches/firefox/preferences/playwright.cfg
+++ b/browser_patches/firefox/preferences/playwright.cfg
@@ -305,3 +305,5 @@ pref("extensions.blocklist.enabled", false);
// Force Firefox Devtools to open in a separate window.
pref("devtools.toolbox.host", "window");
+// Prevent shortcut creation
+pref("browser.privacySegmentation.createdShortcut", true);