Class TableColumnGroupElement

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

    • TableColumnGroupElement

      public TableColumnGroupElement()
  • Method Details

    • getColumns

      public List<TableColumnElement> getColumns()
      Returns the <col> children of this group, in document order.
      Returns:
      the columns of this group.
    • getSpan

      public int getSpan()
      Returns the number of columns this <colgroup> spans when it is used without <col> children.
      Returns:
      the value of the span attribute, or 1 if it is not set.