fix wait - adding isElementPresent