Remove extraneous output from waitForElement