Here's the situation:
- I use CasperJS to open a
page
- I click on button on the
page
to go topage2
- I click a button on
page2
to go topage3
Now I am on page 3 and I call this.back()
within a then statement and it does go back to page 2 and everything just stops executing after that
I also tried to call
this.then(function() {
this.evaluate(function() {
history.go(-1);
});
});
and it goes back to page2
and gets stuck again. The next line won't execute.
Any ideas or is this a bug?