Variable DialogConst

Dialog: any = DialogInteractor

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();
  • id: string – Filter by id
  • visible: boolean – Filter by visibility. Defaults to true. See isVisible.
  • close(): Interaction – Close the dialog window