From 39f66ae38320031fa6343b761b53b719f7a6a719 Mon Sep 17 00:00:00 2001 From: Kazuaki Matsuo Date: Thu, 16 Feb 2023 22:33:02 -1000 Subject: [PATCH] chore: remove unused unicode caps (#856) --- lib/driver.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/driver.js b/lib/driver.js index e3ca4b096..6f7369d73 100644 --- a/lib/driver.js +++ b/lib/driver.js @@ -142,7 +142,6 @@ class EspressoDriver extends BaseDriver { this.desiredCapConstraints = desiredCapConstraints; this.espresso = null; this.jwpProxyActive = false; - this.defaultIME = null; this.jwpProxyAvoid = NO_PROXY; this.apkStrings = {}; // map of language -> strings obj @@ -605,11 +604,6 @@ class EspressoDriver extends BaseDriver { this.log.warn(`Unable to reset animation: ${err.message}`); } } - if (this.opts.unicodeKeyboard && this.opts.resetKeyboard && - this.defaultIME) { - this.log.debug(`Resetting IME to '${this.defaultIME}'`); - await this.adb.setIME(this.defaultIME); - } if (!this.isChromeSession && this.opts.appPackage && !this.opts.dontStopAppOnReset) { await this.adb.forceStop(this.opts.appPackage); }