fields = scraper.url(TableWithMultipleValuesOnMultipleRows.getUrl()).extract(scraper.extractor().getFields())
.getFields();
log.info("fields from table with multiple values on rows: {}", fields);
Field cfdaNumbers = null;
for (Field field : fields) {
if (field.getLabel().equals("CFDA Number(s)")) {
cfdaNumbers = field;
}
}
assertThat(fields.size(), is(1));
assertThat(cfdaNumbers, is(notNullValue()));
assertThat(cfdaNumbers.getValue().contains(";"), is(true));
}