WebTable table = (WebTable) object;
String textToMatch = (String) criteria;
for (int i = 0; i < table.getRowCount(); i++)
for (int j = 0; j < table.getColumnCount(); j++) {
TableCell cell = table.getTableCell(i, j);
if (cell != null && cell.asText().indexOf(textToMatch) != -1)
return true;
}
return false;