We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbe4e46 commit c41316aCopy full SHA for c41316a
src/utils.ts
@@ -25,8 +25,10 @@ export async function getProxyDriver(
25
if (['key', 'semantics label', 'text', 'type'].includes(strategy)) {
26
return this.proxy;
27
} else if (this.proxydriver instanceof AndroidUiautomator2Driver) {
28
+ // @ts-ignore Proxy instance is OK
29
return this.proxydriver.uiautomator2.jwproxy;
30
} else {
31
32
return this.proxydriver.wda.jwproxy;
33
}
34
0 commit comments