Wait login page completely load

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