Add more checks for the search and login page elements.