mirror of
https://github.com/appium/appium.git
synced 2026-02-08 19:00:16 -06:00
Merge pull request #2937 from paymand/selendroid_default_context
Init the current context as NATIVE_APP for Selendroid.
This commit is contained in:
@@ -69,6 +69,7 @@ Selendroid.prototype.init = function () {
|
||||
, ['GET', new RegExp('^/wd/hub/session/[^/]+/network_connection')]
|
||||
, ['POST', new RegExp('^/wd/hub/session/[^/]+/network_connection')]
|
||||
];
|
||||
this.curContext = this.defaultContext();
|
||||
};
|
||||
|
||||
_.extend(Selendroid.prototype, androidCommon);
|
||||
|
||||
@@ -151,9 +151,6 @@ var routeNotYetImplemented = function (rest) {
|
||||
rest.post('/wd/hub/session/:sessionId?/buttondown', controller.notYetImplemented);
|
||||
rest.post('/wd/hub/session/:sessionId?/buttonup', controller.notYetImplemented);
|
||||
rest.post('/wd/hub/session/:sessionId?/doubleclick', controller.notYetImplemented);
|
||||
rest.post('/wd/hub/session/:sessionId?/touch/down', controller.notYetImplemented);
|
||||
rest.post('/wd/hub/session/:sessionId?/touch/up', controller.notYetImplemented);
|
||||
rest.post('/wd/hub/session/:sessionId?/touch/move', controller.notYetImplemented);
|
||||
rest.post('/wd/hub/session/:sessionId?/touch/scroll', controller.notYetImplemented);
|
||||
rest.post('/wd/hub/session/:sessionId?/touch/doubleclick', controller.notYetImplemented);
|
||||
rest.get('/wd/hub/session/:sessionId?/location', controller.notYetImplemented);
|
||||
|
||||
Reference in New Issue
Block a user