well, I redirected the page and checked the url--I think my checking is more: redirect + the location of redirection and then i goToPreviousPage