replaced hardcoded .pause(time) calls with waitForElementPresent(item, time, abortOnFailure)