I have multiple test cases in that some of them are having login into website to test the functionality and some other are not required to login to test the functionality.
Issue is when one test case is login to site to test the functionality and it is storing the login session due to that my next test case which doesn't require login is getting failed.
So I would like to know how to clear cache , History in phantomjs browser