return option_strings;
}
public String get_selected_option() {
Elements options = root_element().findElements(By.tagName("option"));
Element selected_option = options.findFirstElementThatMatches(new Predicate<Element>() {
public boolean apply(Element input) {
String selected = input.getAttribute("selected");
if(StringUtils.isNotBlank(selected)) {
return selected.equals("selected") || selected.equals("true");
}
return false;
}
});
return selected_option.getText();
}