Skip to main content
Version: 0.20.6

expect

production

Expects a condition, for example, 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()