com.vaadin.flow.component.dialog.testbench.

Class DialogElement

    • Constructor Detail

      • DialogElement

        public DialogElement()
    • Method Detail

      • isOpen

        public boolean isOpen()

        Checks whether the dialog is shown.

        Returns:

        true if the dialog is shown, false otherwise

      • getContext

        public org.openqa.selenium.SearchContext getContext()

        Description copied from class: TestBenchElement

        Returns this TestBenchElement cast to a SearchContext. Method provided for compatibility and consistency.

        Specified by:

        getContext in interface HasSearchContext

        Overrides:

        getContext in class TestBenchElement

        Returns:

        a SearchContext instance