Testcafe wait for page load