Keyboard assertion (keyboardIsShown, keyboardIsNotShown)

in Japanese(日本語)

Checks whether the soft keyboard is shown. Opening and closing are animated, so both poll up to waitSeconds. Omitted, it is the run profile's default wait (5 seconds as shipped).

Functions

function description
keyboardIsShown(waitSeconds:) Asserts the soft keyboard is shown.
keyboardIsNotShown(waitSeconds:) Asserts the soft keyboard is hidden.

Example

tap("#email")
keyboardIsShown()
tap("#login_btn")
keyboardIsNotShown()

Notes