KeyboardService
Learn how to use BELLATRIX iOS KeyboardService.
Example
public class KeyboardServiceTests extends IOSTest {
@Test
public void testHideKeyBoard() {
var textField = app().create().byIdContaining(TextField.class, "IntegerA");
textField.setText("");
app().keyboard().hide();
}
}
Explanations
BELLATRIX gives you an interface for easier work with device’s keyboard through the keyboard method.
app().keyboard().hide();
Hides the keyboard.