Class ButtonElement

java.lang.Object
com.vaadin.testbench.TestBenchElement
com.vaadin.flow.component.button.testbench.ButtonElement
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 ButtonElement extends TestBenchElement
A TestBench element representing a <vaadin-button> element.
  • Constructor Details

    • ButtonElement

      public ButtonElement()
  • Method Details

    • getText

      public String getText()
      Specified by:
      getText in interface org.openqa.selenium.WebElement
      Overrides:
      getText in class TestBenchElement