Skip to content

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

browser(firefox): force firefox devtools to open in a separate window (#3816)

Andrey Lushnikov6c8326604724
diff --git a/browser_patches/firefox/BUILD_NUMBER b/browser_patches/firefox/BUILD_NUMBER
index a46c4a556b..425c0e77e0 100644
--- a/browser_patches/firefox/BUILD_NUMBER
+++ b/browser_patches/firefox/BUILD_NUMBER
@@ -1,2 +1,2 @@
-1170
-Changed: [email protected] Tue Sep 8 22:17:56 PDT 2020
+1171
+Changed: [email protected] Wed Sep 9 09:33:56 PDT 2020
diff --git a/browser_patches/firefox/preferences/playwright.cfg b/browser_patches/firefox/preferences/playwright.cfg
index 047820d03a..bda5094a1b 100644
--- a/browser_patches/firefox/preferences/playwright.cfg
+++ b/browser_patches/firefox/preferences/playwright.cfg
@@ -266,5 +266,8 @@ pref("toolkit.telemetry.server", "");
// Disable downloading the list of blocked extensions.
pref("extensions.blocklist.enabled", false);
+// Force Firefox Devtools to open in a separate window.
+pref("devtools.toolbox.host", "window");
+
// Disable crash reporter.
Components.classes["@mozilla.org/toolkit/crash-reporter;1"].getService(Components.interfaces.nsICrashReporter).submitReports = false;