Wait login page loads completely before the next action

Sometimes, the search box can't be found if you don't wait the page load completely