aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/blueimp/jquery-file-upload/wdio/safari.js
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/blueimp/jquery-file-upload/wdio/safari.js')
-rw-r--r--vendor/blueimp/jquery-file-upload/wdio/safari.js24
1 files changed, 24 insertions, 0 deletions
diff --git a/vendor/blueimp/jquery-file-upload/wdio/safari.js b/vendor/blueimp/jquery-file-upload/wdio/safari.js
new file mode 100644
index 000000000..d252d0d5d
--- /dev/null
+++ b/vendor/blueimp/jquery-file-upload/wdio/safari.js
@@ -0,0 +1,24 @@
+'use strict'
+
+/* eslint-disable jsdoc/valid-types */
+/** @type WebdriverIO.Config */
+const config = {
+ // Docker for Mac host address:
+ hostname: 'host.docker.internal',
+ capabilities: [
+ {
+ // safaridriver supports no parallel sessions:
+ maxInstances: 1,
+ browserName: 'safari'
+ }
+ ],
+ videos: {
+ enabled: true,
+ inputFormat: 'mjpeg',
+ startDelay: 500,
+ stopDelay: 500
+ },
+ assetsDir: process.env.MACOS_ASSETS_DIR
+}
+
+exports.config = Object.assign({}, require('./chrome').config, config)