window.back() is not working in javascript : <p>window.back() is not working in javascript.</p>

<p>Trying to write  a test case where need to access the url from history.</p>

<p>but not getting any result</p>
