Skip to content

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

test(bidi): Enable pref for dismissing file pickers (#38563)

Holger Benlccfb7e2db792
diff --git a/tests/bidi/playwright.config.ts b/tests/bidi/playwright.config.ts
index 946b715041..8531687543 100644
--- a/tests/bidi/playwright.config.ts
+++ b/tests/bidi/playwright.config.ts
@@ -30,6 +30,7 @@ function firefoxUserPrefs() {
const defaultPrefs = {
'network.proxy.allow_hijacking_localhost': true,
'network.proxy.testing_localhost_is_secure_when_hijacked': true,
+ 'remote.bidi.dismiss_file_pickers.enabled': true,
};
const prefsString = process.env.PWTEST_FIREFOX_USER_PREFS;
if (!prefsString)