Reputation: 2460
I m using appium with java to automate my tests. I want to know the name of the button that i have circled it in yellow color. How can i hide keyboard by tapping into the button with yellow circle ?
HERE the link for another question, but still have the same problem
Upvotes: 0
Views: 525
Reputation: 880
Here's Appium Inspector showing the details of the key:
So here's 2 different examples for hiding the keyboard:
driver.hideKeyboard("Hide keyboard");
driver.findElement(By.xpath("//*[contains(@name, 'Hide keyboard')]").click();
Upvotes: 1
Reputation: 1213
Can you try to use :
driver.hideKeyboard("Hide keyboard");
Upvotes: 1