appium / java-client

Java language binding for writing Appium Tests, conforms to W3C WebDriver Protocol
Apache License 2.0
1.19k stars 755 forks source link

unicodeKeyboard and resetKeyboard capbilities removed from java-client 9.0.0 #2059

Open LissaRider opened 8 months ago

LissaRider commented 8 months ago

Description

Hello. How now to hide keybord in Android (UIAutomator2 and Espresso) generally?

Environment

Details

The keyboard makes it difficult to check:

It's terrible to use the method of hiding the keyboard every time it is shown. At the very least, time is lost hiding the keyboard and debugging tests.

Alternative

To solve this problem temporarily I have to use "adb" commands:

mykola-mokhnach commented 6 months ago

You may use the recently added appium:hideKeyboard capability

mykola-mokhnach commented 6 months ago

In case of an older driver version it is still possible to provide the appium:unicodeKeyboard one as a string. There is just no dedicated constant for it as it will be anyway removed in the future.