diff --git a/lib/devices/android/android.js b/lib/devices/android/android.js index e2a364bcb..9700c5406 100644 --- a/lib/devices/android/android.js +++ b/lib/devices/android/android.js @@ -63,10 +63,7 @@ Android.prototype.init = function () { this.proxyPort = null; this.proxySessionId = null; this.avoidProxy = [ - ['POST', new RegExp('^/wd/hub/session/[^/]+/window')] - , ['GET', new RegExp('^/wd/hub/session/[^/]+/window_handle')] - , ['GET', new RegExp('^/wd/hub/session/[^/]+/window_handles')] - , ['POST', new RegExp('^/wd/hub/session/[^/]+/context')] + ['POST', new RegExp('^/wd/hub/session/[^/]+/context')] , ['GET', new RegExp('^/wd/hub/session/[^/]+/context')] , ['GET', new RegExp('^/wd/hub/session/[^/]+/contexts')] , ['POST', new RegExp('^/wd/hub/session/[^/]+/appium')]