@@ -16,17 +16,23 @@ config.specs = [
16
16
config . capabilities = [
17
17
{
18
18
// The defaults you need to have in your config
19
- automationName : 'UiAutomator2' ,
20
- deviceName : 'Pixel_8.1' ,
21
19
platformName : 'Android' ,
22
- platformVersion : '8.1' ,
23
- orientation : 'PORTRAIT' ,
24
20
maxInstances : 1 ,
25
- app : join ( process . cwd ( ) , './apps/Android-NativeDemoApp-0.2.1.apk' ) ,
21
+ // For W3C the appium capabilities need to have an extension prefix
22
+ // http://appium.io/docs/en/writing-running-appium/caps/
23
+ // This is `appium:` for all Appium Capabilities which can be found here
24
+ 'appium:deviceName' : 'Pixel_8.1' ,
25
+ 'appium:platformVersion' : '8.1' ,
26
+ 'appium:orientation' : 'PORTRAIT' ,
27
+ // `automationName` will be manatory, see
28
+ // https://github.com/appium/appium/releases/tag/v1.13.0
29
+ 'appium:automationName' : 'UiAutomator2' ,
30
+ // The path to the app
31
+ 'appium:app' : join ( process . cwd ( ) , './apps/Android-NativeDemoApp-0.2.1.apk' ) ,
26
32
// Read the reset strategies very well, they differ per platform, see
27
33
// http://appium.io/docs/en/writing-running-appium/other/reset-strategies/
28
- noReset : true ,
29
- newCommandTimeout : 240 ,
34
+ 'appium: noReset' : true ,
35
+ 'appium: newCommandTimeout' : 240 ,
30
36
} ,
31
37
] ;
32
38
0 commit comments