-
Notifications
You must be signed in to change notification settings - Fork 0
/
wdio.android.browser.conf.js
39 lines (36 loc) · 1.23 KB
/
wdio.android.browser.conf.js
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
35
36
37
38
39
const { config } = require('./wdio.shared.conf');
// ============
// Specs
// ============
config.specs = [
'./tests/specs/**/browser*.spec.js',
];
// ============
// Capabilities
// ============
// For all capabilities please check
// http://appium.io/docs/en/writing-running-appium/caps/#general-capabilities
config.capabilities = [
{
// The defaults you need to have in your config
platformName: 'Android',
browserName: 'chrome',
maxInstances: 1,
// For W3C the appium capabilities need to have an extension prefix
// http://appium.io/docs/en/writing-running-appium/caps/
// This is `appium:` for all Appium Capabilities which can be found here
'appium:deviceName': 'Pixel_8.1',
'appium:platformVersion': '8.1',
'appium:orientation': 'PORTRAIT',
// `automationName` will be mandatory, see
// https://github.com/appium/appium/releases/tag/v1.13.0
'appium:automationName': 'UiAutomator2',
'appium:newCommandTimeout': 240,
'goog:chromeOptions': {
w3c: true,
// Add this option to prevent the annoying "Welcome"-message
args: ['--no-first-run'],
},
},
];
exports.config = config;