Rafal,
I’m trying to install OpenMRS, but I got a problem. Regarding your issue, what I guess it does not work properly is the following method which returns false even if it should return true.
public boolean containsTextWithoutWait(String text) {
return driver.getPageSource().contains(text);
}
Some users report of a problem with getPageSource. Maybe here we have the same issue, unfortunately I can’t verify my hypothesis. I hope to make OpenMRS work asap and provides your with a solution.