Class NativeDetailsElement

java.lang.Object
com.vaadin.testbench.TestBenchElement
com.vaadin.flow.component.html.testbench.NativeDetailsElement
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 NativeDetailsElement extends TestBenchElement
A TestBench element representing a <details> element.
Since:
  • Constructor Details

    • NativeDetailsElement

      public NativeDetailsElement()
  • Method Details

    • toggle

      public void toggle()
      Dispatches a toggle event by clicking the summary of the details. Toggles the details element open state.