]>
Commit | Line | Data |
---|---|---|
3419e0e1 C |
1 | import { config as mainConfig } from './wdio.main.conf' |
2 | ||
3 | const prefs = { | |
4 | 'intl.accept_languages': 'en' | |
5 | } | |
6 | ||
7 | module.exports = { | |
8 | config: { | |
9 | ...mainConfig, | |
10 | ||
11 | runner: 'local', | |
12 | ||
13 | maxInstances: 1, | |
14 | ||
15 | capabilities: [ | |
16 | { | |
17 | browserName: 'chrome', | |
18 | acceptInsecureCerts: true, | |
19 | 'goog:chromeOptions': { | |
20 | prefs | |
21 | } | |
22 | }, | |
23 | { | |
24 | browserName: 'firefox', | |
25 | 'moz:firefoxOptions': { | |
26 | // args: [ '-headless' ], | |
27 | binary: '/usr/bin/firefox-developer-edition', | |
28 | prefs | |
29 | } | |
30 | }, | |
31 | { | |
32 | browserName: 'firefox', | |
33 | 'moz:firefoxOptions': { | |
34 | // args: [ '-headless' ], | |
35 | binary: '/usr/bin/firefox-esr', | |
36 | prefs | |
37 | } | |
38 | } | |
39 | ], | |
40 | ||
41 | services: [ 'chromedriver', 'geckodriver' ] | |
42 | } as WebdriverIO.Config | |
43 | } |