Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
fix(pw_run): Allow running from paths with spaces (#674)
Eric Heatone65cc77f3158
diff --git a/browser_patches/webkit/pw_run.sh b/browser_patches/webkit/pw_run.shindex fb7fd12262..21a6f68b48 100755--- a/browser_patches/webkit/pw_run.sh+++ b/browser_patches/webkit/pw_run.sh@@ -13,7 +13,7 @@ function runOSX() {exit 1fiPLAYWRIGHT="$DYLIB_PATH/Playwright.app/Contents/MacOS/Playwright"- DYLD_FRAMEWORK_PATH=$DYLIB_PATH DYLD_LIBRARY_PATH=$DYLIB_PATH $PLAYWRIGHT "$@"+ DYLD_FRAMEWORK_PATH="$DYLIB_PATH" DYLD_LIBRARY_PATH="$DYLIB_PATH" "$PLAYWRIGHT" "$@"}function runLinux() {@@ -47,7 +47,7 @@ function runLinux() {echo "Cannot find a MiniBrowser.app in neither location" 1>&2exit 1fi- GIO_MODULE_DIR=$GIO_DIR LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LD_PATH $MINIBROWSER "$@"+ GIO_MODULE_DIR="$GIO_DIR" LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$LD_PATH" "$MINIBROWSER" "$@"}SCRIPT_PATH="$(cd "$(dirname "$0")" ; pwd -P)"