From b83563ab78226170e6c594ef03c312c09a13cc14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dar=C3=ADo=20Kondratiuk?= Date: Thu, 14 Mar 2024 22:38:06 -0300 Subject: [PATCH] Disable GFX sanity window for Firefox (#2502) --- lib/PuppeteerSharp/FirefoxLauncher.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/PuppeteerSharp/FirefoxLauncher.cs b/lib/PuppeteerSharp/FirefoxLauncher.cs index 96121929f..1abdd4001 100644 --- a/lib/PuppeteerSharp/FirefoxLauncher.cs +++ b/lib/PuppeteerSharp/FirefoxLauncher.cs @@ -281,6 +281,9 @@ private static void CreateProfile(TempDirectory tempUserDataDirectory) // Disable download and usage of OpenH264: and Widevine plugins ["media.gmp-manager.updateEnabled"] = false, + // Disable the GFX sanity window + ["media.sanity-test.disabled"] = true, + // Prevent various error message on the console // jest-puppeteer asserts that no error message is emitted by the console ["network.cookie.cookieBehavior"] = 0,