page.js
page.js copied to clipboard
page.back() causes page reload
- Initial URL:
http://localhost page('#test1')- Current URL:
http://localhost/#test1(no page reload happened, OK) - I press browser "back" button.
- Current URL:
http://localhost(no page reload happened, OK)
Now with page.back():
- Initial URL:
http://localhost page('#test1')- Current URL:
http://localhost/#test1(no page reload happened, OK) page.back()- Current URL:
http://localhost(page reloaded!)
Is this a bug? Anyhow page.back() is not documented so I do not know how it is supposed to behave.
that indeed is not supposed to happen. can you make an isolated test case?
I'm so new to this library and I do not yet whether I'll need it or not, so I cannot spend the required time to make a proper test unit.
Said that, it is easily reproducible via the JS console by performing the exact steps explained above.