aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/blueimp/jquery-file-upload/wdio/bin/safaridriver.sh
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/blueimp/jquery-file-upload/wdio/bin/safaridriver.sh')
-rw-r--r--vendor/blueimp/jquery-file-upload/wdio/bin/safaridriver.sh9
1 files changed, 1 insertions, 8 deletions
diff --git a/vendor/blueimp/jquery-file-upload/wdio/bin/safaridriver.sh b/vendor/blueimp/jquery-file-upload/wdio/bin/safaridriver.sh
index d6bee1da7..ed9c63e70 100644
--- a/vendor/blueimp/jquery-file-upload/wdio/bin/safaridriver.sh
+++ b/vendor/blueimp/jquery-file-upload/wdio/bin/safaridriver.sh
@@ -1,12 +1,5 @@
#!/bin/sh
-if [ "$1" = -t ]; then
- BIN='/Applications/Safari Technology Preview.app/Contents/MacOS/safaridriver'
- shift
-else
- BIN=safaridriver
-fi
-
SCREEN='Capture screen'
if [ -z "$1" ]; then
@@ -21,7 +14,7 @@ else
fi
echo 'Starting safaridriver on 127.0.0.1:4444 ...' >&2
-"$BIN" -p 4444 & pid=$!
+safaridriver -p 4444 & pid=$!
# shellcheck disable=SC2064
trap "kill $pid; exit" INT TERM