diff --git a/lib/driver.ts b/lib/driver.ts index b3d74d916..71a0ef416 100644 --- a/lib/driver.ts +++ b/lib/driver.ts @@ -947,18 +947,18 @@ class AndroidUiautomator2Driver } // eslint-disable-next-line @typescript-eslint/no-unused-vars - proxyActive(sessionId: string) { + proxyActive(sessionId: string): boolean { // we always have an active proxy to the UiAutomator2 server return true; } // eslint-disable-next-line @typescript-eslint/no-unused-vars - canProxy(sessionId: string) { + canProxy(sessionId: string): boolean { // we can always proxy to the uiautomator2 server return true; } - getProxyAvoidList() { + getProxyAvoidList(): RouteMatcher[] { // we are maintaining two sets of NO_PROXY lists, one for chromedriver(CHROME_NO_PROXY) // and one for uiautomator2(NO_PROXY), based on current context will return related NO_PROXY list if (util.hasValue(this.chromedriver)) { diff --git a/package.json b/package.json index 5d879c764..2ff07d37e 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,7 @@ "@appium/docutils": "^1.0.1", "@appium/eslint-config-appium": "^8.0.3", "@appium/eslint-config-appium-ts": "^0.x", - "@appium/support": "^4.2.0", + "@appium/support": "^5.0.3", "@appium/test-support": "^3.0.0", "@appium/tsconfig": "^0.x", "@appium/types": "^0.x",