backend/e2e/conf/firefox.js (view raw)
1'use strict';
2
3/* eslint-disable jsdoc/valid-types */
4/** @type WebdriverIO.Config */
5const config = {
6 hostname: 'geckodriver',
7 capabilities: [
8 {
9 // geckodriver supports no parallel sessions:
10 maxInstances: 1,
11 browserName: 'firefox',
12 'moz:firefoxOptions': {
13 //args: ['-headless', '--window-size=1440,900']
14 },
15 },
16 ],
17 videos: {
18 enabled: true,
19 resolution: '1440x900',
20 startDelay: 500,
21 stopDelay: 500,
22 },
23};
24
25exports.config = Object.assign({}, require('./chrome').config, config);