How To Work History.back() In Ie8 And Above Versions
I'm facing a big issue related to 'Back Button', Currently I am using JavaScript back button like - parent.history.back(); but it is giving error like 'Webpage has expired' on cli
Solution 1:
Here is a working example (tested on saucelabs IE7, IE8, IE9 @Windows XP and Vista)
<inputtype="button"id="push-me" value="Push me!" onclick="window.history.back(); return false;"/>
If it still doesn't work for you may ensure that your tests are not executed within an iframe
but a separate window.
Post a Comment for "How To Work History.back() In Ie8 And Above Versions"