Init the current context as NATIVE_APP for Selendroid.

This commit is contained in:
Payman Delshad
2014-06-24 14:15:42 +02:00
parent f62c5b8b98
commit fc43c43adb

View File

@@ -65,6 +65,7 @@ Selendroid.prototype.init = function () {
, ['GET', new RegExp('^/wd/hub/session/[^/]+/context')]
, ['GET', new RegExp('^/wd/hub/session/[^/]+/contexts')]
];
this.curContext = this.defaultContext();
};
_.extend(Selendroid.prototype, androidCommon);