}
return true;
}
public boolean waitForSelectedLabel(String selectLocator, String label) {
Wait x=new WaitForLabelToBeSelected(selectLocator, label);
boolean elementFound = seleniumInstance.isElementPresent(selectLocator);
if (elementFound) {
try {
x.wait("Option with label " +label+ " not selected in " + selectLocator + " after " + timeoutSeconds
+ " seconds", Long.parseLong(timeoutMilliseconds));
}
catch (SeleniumException e) {
if (isKnownSeleniumBug(e)) {
waitForSelectedLabel(selectLocator, label);