e2e/conf/safari.js (view raw)
1'use strict';
2
3/* eslint-disable jsdoc/valid-types */
4/** @type WebdriverIO.Config */
5const config = {
6 // Docker for Mac host address:
7 hostname: 'host.docker.internal',
8 capabilities: [
9 {
10 // safaridriver supports no parallel sessions:
11 maxInstances: 1,
12 browserName: 'safari',
13 },
14 ],
15 videos: {
16 enabled: true,
17 inputFormat: 'mjpeg',
18 startDelay: 500,
19 stopDelay: 500,
20 },
21 assetsDir: process.env.MACOS_ASSETS_DIR,
22};
23
24exports.config = Object.assign({}, require('./chrome').config, config);