com.sdl.selenium.web.table.IRow Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Testy Show documentation
Show all versions of Testy Show documentation
Automated Acceptance Testing. Selenium and Selenium WebDriver test framework for web applications.
(optimized for dynamic html, ExtJS, Bootstrap, complex UI, simple web applications/sites)
package com.sdl.selenium.web.table;
import com.sdl.selenium.web.IText;
import com.sdl.selenium.web.IWebLocator;
import java.util.ArrayList;
import java.util.List;
public interface IRow extends IWebLocator, IText {
default List getColumns(int columns, int[] excludedColumns) {
List excluded = new ArrayList<>();
for (int excludedColumn : excludedColumns) {
excluded.add(excludedColumn);
}
List columnsList = new ArrayList<>();
for (int i = 1; i <= columns; i++) {
if (!excluded.contains(i)) {
columnsList.add(i);
}
}
return columnsList;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy