public class IronListElement
extends com.vaadin.testbench.TestBenchElement
<iron-list> element.| Constructor and Description |
|---|
IronListElement() |
| Modifier and Type | Method and Description |
|---|---|
int |
getFirstVisibleRowIndex()
Gets the index of the first row which is at least partially visible.
|
int |
getLastVisibleRowIndex()
Gets the index of the last row which is at least partially visible.
|
int |
getRowCount()
Gets the total number of rows.
|
boolean |
isRowInView(int rowIndex)
Checks if the given row is in the visible viewport.
|
void |
scrollToRow(int rowIndex)
Scrolls to the row with the given index.
|
callFunction, clear, click, click, compareScreen, compareScreen, compareScreen, contextClick, dispatchEvent, dispatchEvent, doubleClick, equals, executeScript, findElement, findElements, focus, getAttribute, getCapabilities, getClassNames, getCommandExecutor, getContext, getCssValue, getDriver, getLocation, getProperty, getPropertyBoolean, getPropertyDouble, getPropertyElement, getPropertyElements, getPropertyInteger, getPropertyString, getRect, getScreenshotAs, getSize, getTagName, getText, getWrappedElement, hasAttribute, hasClassName, hashCode, init, init, isChrome, isDisplayed, isEnabled, isFirefox, isIE, isSelected, scroll, scrollIntoView, scrollLeft, sendKeys, setProperty, setProperty, setProperty, setProperty, submit, waitForVaadin, waitUntil, waitUntil, wrap, wrapElement, wrapElementspublic void scrollToRow(int rowIndex)
rowIndex - the row to scroll topublic int getFirstVisibleRowIndex()
public int getLastVisibleRowIndex()
public boolean isRowInView(int rowIndex)
rowIndex - the row to checktrue if the row is at least partially in view,
false otherwisepublic int getRowCount()
Copyright © 2025. All rights reserved.