WebDriver getText throws exceptions
Instead of doing this:
getDriver().findElement(By.xpath("//span[text()='"+auctionID+"']"));
I would try something like this:
By auctionList = By.xpath(".//span[contains(@id,'listOfAuctions')]"));By containsTextWithId = By.xpath(".//span[contains(.,'" + id + "')]"));By combinedLocator = new ByChained(auctionList, containsTextWithId);
Or some similar idea, depending on what you are doing.