@@ -16,17 +16,23 @@ config.specs = [
1616config . capabilities = [
1717 {
1818 // The defaults you need to have in your config
19- automationName : 'UiAutomator2' ,
20- deviceName : 'Pixel_8.1' ,
2119 platformName : 'Android' ,
22- platformVersion : '8.1' ,
23- orientation : 'PORTRAIT' ,
2420 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' ) ,
2632 // Read the reset strategies very well, they differ per platform, see
2733 // 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 ,
3036 } ,
3137] ;
3238
0 commit comments