Skip to content

Commit b25a2fa

Browse files
chore: remove check for api version
1 parent d27bf47 commit b25a2fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ns-capabilities.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export class NsCapabilities implements INsCapabilities {
103103
}
104104
} else {
105105
if (this._isAndroid) {
106-
if (this.tryGetAndroidApiLevel() > 6 || this.tryGetAndroidApiLevel() > 24 || (this.appiumCaps["apiLevel"] && this.appiumCaps["apiLevel"].toLowerCase().includes("p"))) {
106+
if (this.tryGetAndroidApiLevel() > 6 || (this.appiumCaps["apiLevel"] && this.appiumCaps["apiLevel"].toLowerCase().includes("p"))) {
107107
this._automationName = AutomationName.UiAutomator2;
108108
}
109109
}

0 commit comments

Comments
 (0)