Hi All,
Facing issue with hideKeyboard in iOS
Unable to locate the ‘Done’ button on AppiumInspector. However I have used the same functionality in other scenario and it was working
there perfectly. Clicking and swiping also not hiding the keyboard. I tried using below code but no luck,
driver.hideKeyboard(HideKeyboardStrategy.TAP_OUTSIDE);
driver.hideKeyboard(HideKeyboardStrategy.PRESS_KEY, “Hide keyboard”);
driver.getKeyboard().pressKey("\n");
driver.findElementByAccessibilityId(“Done”).click();
Can we have a one method ‘hideKeyboard()’ like we do have in android…?