#357. Fix test run with waitForElement() feature