Boolean keyboardResigned = false;
boolean ios7 = new IOSVersion(session.getCapabilities().getSDKVersion()).isGreaterOrEqualTo("7.0");
StringBuilder current = new StringBuilder();
XPath2Engine xpathEngine = null;
for (int i = 0; i < value.length(); i++) {
int idx = specialKeys.indexOf(value.charAt(i));
if (idx >= 0) {
if (xpathEngine == null) {
xpathEngine = XPath2Engine.getXpath2Engine(nativeDriver);