skip to Main Content

"help"
I am doing automated testing using "appium" and "ios" keyboard is making issue in text-input, so i want to disable the keyboard from popping up.

I tried following options>>

i/o > Keyboard > connect hardware keyboard

I am selecting that connect hardware keyboard option but it will again rechecked when, I run test cases. I also tried restart after selecting that option.

2

Answers


  1. This should help:
    driver.hideDeviceKeyboard();

    See docs for details.

    Login or Signup to reply.
  2. There are a lot of different ways to hide ios keyboard. A few listed below

    1. send return key
    IOSDriver< WebElement> AD= (IOSDriver) driver;
    AD.getKeyboard().sendKeys(Keys.RETURN);
    
    1. send key code
    driver.getKeyboard().pressKey("n");
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search