Class ConfirmDialogElement

java.lang.Object
com.vaadin.testbench.TestBenchElement
com.vaadin.flow.component.confirmdialog.testbench.ConfirmDialogElement
All Implemented Interfaces:
CanCompareScreenshots, HasCallFunction, HasDriver, HasElementQuery, HasPropertySettersGetters, HasSearchContext, HasTestBenchCommandExecutor, org.openqa.selenium.SearchContext, org.openqa.selenium.TakesScreenshot, org.openqa.selenium.WebElement, org.openqa.selenium.WrapsElement

public class ConfirmDialogElement extends TestBenchElement
  • Constructor Details

    • ConfirmDialogElement

      public ConfirmDialogElement()
  • Method Details

    • 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
    • getConfirmButton

      public TestBenchElement getConfirmButton()
    • getRejectButton

      public TestBenchElement getRejectButton()
    • getCancelButton

      public TestBenchElement getCancelButton()
    • getMessageText

      public String getMessageText()
    • getHeaderText

      public String getHeaderText()