WDIO v6 - browser.mock() does not work if session is reloaded #6688
Unanswered
johnson-tyl
asked this question in
Q&A
Replies: 1 comment 10 replies
-
@johnson-tyl what WebdriverIO version are you using? |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are using
browser.mock()
to spy on non XHR calls and we have situation where we need to do abrowser.sessionReload()
which causes browser.mock() to stop working on any new window opened. Is this is expected? And is there a workaround to this? We cant useclearCookies()
as we have multiple applications and the clearingCookies at the end only clears cookies of the last opened domain.Any help on this is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions