From 1fa2f5f432a8d929d441f7737004a28fe156edbb Mon Sep 17 00:00:00 2001 From: Jonathan Lipps Date: Wed, 9 Jul 2014 10:15:02 -0700 Subject: [PATCH] no need to care about window_handles anymore (fix #3105) --- lib/devices/android/android.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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')]