expect
Expects a condition, e.g., exists()
or notExits()
.
Use the structure expect().<your filter>.(exists()|notExists())
as shown in the examples below.
Examples:
await aui.expect().text('Login').exists().exec()
await aui.expect().text('Login').notExists().exec()