Dialogvariable
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
await Dialog('Login').close();
await Dialog({ id: 'login-modal' }).exists();
Filters
id: string – Filter by idvisible: boolean – Filter by visibility. Defaults totrue. SeeisVisible.
Actions
close():Interaction– Close the dialog window