Skip to content

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

devops: support `--juggler` argument for `firefox/build.sh` script (#2472)

Andrey Lushnikov95ef71c43ccf
diff --git a/browser_patches/firefox/build.sh b/browser_patches/firefox/build.sh
index 9223d54b09..5dd7c7c768 100755
--- a/browser_patches/firefox/build.sh
+++ b/browser_patches/firefox/build.sh
@@ -40,7 +40,11 @@ fi
OBJ_FOLDER="obj-build-playwright"
echo "mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/${OBJ_FOLDER}" >> .mozconfig
-./mach build
+if [[ $1 == "--juggler" ]]; then
+ ./mach build faster
+else
+ ./mach build
+fi
if [[ "$(uname)" == "Darwin" ]]; then
node ../install-preferences.js $PWD/${OBJ_FOLDER}/dist