WebElement searchItem =
waitForAMoment().until(new Function<WebDriver, WebElement>() {
@Override</BUG>
public WebElement apply(WebDriver driver) {
<BUG>List<WebElement> items =
WebElementUtil.getSearchAutocompleteResults(
driver, "general-search-form",
"projectAutocomplete");</BUG>
for (WebElement item : items) {
if (item.getText().equals(searchEntry)) {

WebElement searchItem =
waitForAMoment().withMessage(msg).until(
new Function<WebDriver, WebElement>() {
@Override
public WebElement apply(WebDriver driver) {
List<WebElement> items =
WebElementUtil
.getSearchAutocompleteResults(
driver,
"general-search-form",
"projectAutocomplete");
for (WebElement item : items) {
if (item.getText().equals(searchEntry)) {
