How do I validate if the keyboard is not visible?
In this example, we will take a look at how to assert the keyboard is not visible by using the assertNotKeyboardVisible command.
Solution:
# | Command | Target | Value |
---|---|---|---|
Asserts the keyboard is NOT visible on the screen. | |||
1 | assertNotKeyboardVisible |
Tips, Tricks, Gotchas & Best Practices:
- Alternatively, you can also use verifyNotKeyboardVisible & waitForNotKeyboardVisible to verify the keyboard is not visible on the screen.