protractor icon indicating copy to clipboard operation
protractor copied to clipboard

browser.get() returns to the previous page

Open helenGreene opened this issue 13 years ago • 6 comments

Hi, I use protractor 0.13.0 version. I want to get directly to the specific url inside the application by browser.get('/something/something'). I see that the correct url is entered, but immediately after that the previous page is loaded. When I replaced it by webdriver function browser.waitForAngular(); browser.driver.get('baseUrl/something/something'); it worked well. Does anybody faced the issue?

Thank you

helenGreene avatar Dec 02 '13 12:12 helenGreene

What OS/Browser are you using?

juliemr avatar Dec 04 '13 15:12 juliemr

Win7 64 bit, Chrome latest version

helenGreene avatar Dec 05 '13 12:12 helenGreene

How is your routing managed? Do you use angular's route service, or something else?

juliemr avatar Dec 09 '13 22:12 juliemr

Yes, but I thing it is not the cause

  1. it worked with previous protractor version
  2. now it works if I user browser.driver.get()

helenGreene avatar Dec 22 '13 11:12 helenGreene

Sorry for the slow response here. Is this still an issue?

juliemr avatar Mar 05 '14 05:03 juliemr

I believe, the problem was solved with the newer versions. Thank you

helenGreene avatar Mar 16 '14 08:03 helenGreene