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