-
Notifications
You must be signed in to change notification settings - Fork 0
/
wdio.browserstack.conf.ts
34 lines (30 loc) · 1.02 KB
/
wdio.browserstack.conf.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import { config as sharedConfig } from '../wdio.shared.conf.ts';
export const config: WebdriverIO.Config = {
...sharedConfig,
...{
user: process.env.BROWSERSTACK_USERNAME,
key: process.env.BROWSERSTACK_ACCESS_KEY,
services:['browserstack'],
capabilities: [
{
maxInstances: 5,
browserName: 'chrome',
browserVersion: 'latest',
platformName: 'Windows 10',
'goog:chromeOptions': {
//headless: true
}
},
{
maxInstances: 5,
browserName: 'firefox',
browserVersion: 'latest',
platformName: 'Windows 10',
"moz:firefoxOptions": {
// flag to activate Firefox headless mode (see https://github.com/mozilla/geckodriver/blob/master/README.md#firefox-capabilities for more details about moz:firefoxOptions)
//args: ['-headless']
}
},
]
}
}