Const
Call this InteractorConstructor to initialize a list Interactor. The list interactor can be used to assert on lists state.
The list is located by the aria-label attribute or by text content.
aria-label
await List('ToDos').exists(); Copy
await List('ToDos').exists();
id
visible
true
Call this InteractorConstructor to initialize a list Interactor. The list interactor can be used to assert on lists state.
The list is located by the
aria-label
attribute or by text content.Example
Filters
id
: string – Filter by idvisible
: boolean – Filter by visibility. Defaults totrue
. See isVisible.