This site is in read only mode. Please continue to browse, but replying, likes, and other actions are disabled for now.
1 / 4
Jul 2018

In the latest version java client Hidekeyboard() function not appeared.

Is there any other technique is present

How to handle the hidekeyboard methrolory in appium client

  • created

    Jul '18
  • last reply

    Jul '18
  • 3

    replies

  • 194

    views

  • 2

    users

  • 1

    like

  • 1

    link

I’m using java client 6.0.0
Hope will help, my code to hide the keyboard is:

public void hideKeyboard() {
while (driver.isKeyboardShown()) {
try {
driver.hideKeyboard();

		} catch (Exception e) {

		}
	}
}

Thanks Zuzeac.
Then i have one doubt how to scroll in native app using Java Client 6.0.0
Then how to use this executeScript in JavaScript
driver.executeScript(script, args)