fixed a problem with showing the elapsed time for waitForElement commands