AUI-1285 Wait for the browser to handle scrollTo before running tests