Const
Call this InteractorConstructor to initialize a dialog Interactor. The dialog interactor can be used to interact with dialog windows on the page and to assert on their state.
The dialog is located by the text of its label or by title text content.
await Dialog('Login').close();await Dialog({ id: 'login-modal' }).exists(); Copy
await Dialog('Login').close();await Dialog({ id: 'login-modal' }).exists();
id
visible
true
close()
Call this InteractorConstructor to initialize a dialog Interactor. The dialog interactor can be used to interact with dialog windows on the page and to assert on their state.
The dialog is located by the text of its label or by title text content.
Example
Filters
id
: string – Filter by idvisible
: boolean – Filter by visibility. Defaults totrue
. See isVisible.Actions
close()
: Interaction – Close the dialog window