Add an endpoint for application activation
MODIFY
lib/protocol/routes.js
lib/protocol/routes.js
@@ -407,6 +407,14 @@ const METHOD_MAP = {
}
}
},
+ '/wd/hub/session/:sessionId/appium/device/activate_app': {
+ POST: {command: 'activateApp',
+ payloadParams: {
+ required: [['appId'], ['bundleId']],
+ optional: ['options']
+ }
+ }
+ },
'/wd/hub/session/:sessionId/appium/device/remove_app': {
POST: {command: 'removeApp',
payloadParams: {

MODIFY
test/protocol/routes-specs.js
test/protocol/routes-specs.js
@@ -40,7 +40,7 @@ describe('Protocol', function () {
}
let hash = shasum.digest('hex').substring(0, 8);
// Modify the hash whenever the protocol has intentionally been modified.
- hash.should.equal('59c5e66c');
+ hash.should.equal('eefd5dd0');
});
});

Add an endpoint for application activation (#181)