mirror of
https://github.com/appium/appium.git
synced 2026-02-14 05:50:00 -06:00
Fix for getContexts() on Selendroid.
This commit is contained in:
committed by
Jonah Stiennon
parent
84ec8258c7
commit
17304573a0
@@ -506,7 +506,7 @@ Selendroid.prototype.getContexts = function (cb) {
|
||||
}
|
||||
|
||||
var selendroidViews = [];
|
||||
var reqUrl = this.proxyHost + ':' + this.selendroidPort + '/wd/hub/session/' + this.selendroidSessionId;
|
||||
var reqUrl = this.selendroidHost + ':' + this.args.selendroidPort + '/wd/hub/session/' + this.selendroidSessionId;
|
||||
doRequest(reqUrl + '/window_handles', 'GET', {}, null, function (err, res) {
|
||||
if (err) return cb(err);
|
||||
selendroidViews = JSON.parse(res.body).value;
|
||||
|
||||
Reference in New Issue
Block a user