You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
there must be an issue with terminating the data of the used session. If I run my tests once and rerun them, the second run has data of the first run. How can I disable this behavior or is it a bug?
Activity
DavertMik commentedon Dec 2, 2015
Thanks. First real bug! I think cookies should be cleaned in
_afterhook of webdriver to ensure session is not saved.nhu commentedon Dec 3, 2015
Hi,
I am unsure if this is a bug in codeceptjs or in webdriverio.
Because you even can't clear the session storage without getting errors.
DavertMik commentedon Dec 3, 2015
I will take a look and do what I can with it...
nhu commentedon Dec 7, 2015
Maybe related: webdriverio/webdriverio#409
Teknologica commentedon Mar 25, 2016
I've stumbled on the same issue. Clearing
localStorage,sessionStorageor cookies has no effect usingPhantom JSwithWebdriver IO.DavertMik commentedon Mar 25, 2016
Right now I can recommend not to use phantomjs...
Anyway I will take a look when I have time
Teknologica commentedon Mar 25, 2016
That's unfortunate, but there's cases where the tests can't run in a browser with a GUI so
phantom jsis required. I'll keep looking for a solution.Teknologica commentedon Mar 25, 2016
The issue of
Phantom Jsis related toGhost Driver. See https://github.com/detro/ghostdriver/issues/170 -- it's been around since 2013.DavertMik commentedon Mar 25, 2016
I plan to implement Nightmare helper in one of next releases.
I hope it will work better than PhantomJS
umutm commentedon May 27, 2016
Any progress regarding Nightmare integration? And, is it still in the roadmap? Thanks.
DavertMik commentedon Jan 13, 2017
Nightmare is implemented, webdriverio has its new versions so I think this can be closed