From a898159305d061bf58c4e00f1d9c4a6b492aa20f Mon Sep 17 00:00:00 2001 From: Mykola Mokhnach Date: Wed, 12 Jun 2024 18:30:43 +0200 Subject: [PATCH] fix build --- lib/driver.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)) {