Skip to content

Commit

Permalink
Merge 5abc8b5 into fe892ab
Browse files Browse the repository at this point in the history
  • Loading branch information
Mykola Mokhnach committed Jul 3, 2018
2 parents fe892ab + 5abc8b5 commit d10b5a3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/driver.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,12 @@ class AndroidDriver extends BaseDriver {
adbExecTimeout: this.opts.adbExecTimeout,
});

if (await this.adb.getApiLevel() >= 23) {
log.warn("Consider setting 'automationName' capability to " +
"'uiautomator2' on Android >= 6, since UIAutomator framework " +
"is not maintained anymore by the OS vendor.");
}

if (this.helpers.isPackageOrBundle(this.opts.app)) {
// user provided package instead of app for 'app' capability, massage options
this.opts.appPackage = this.opts.app;
Expand Down

0 comments on commit d10b5a3

Please sign in to comment.