Want to understand auto browser session management with mocha runner and default runner. #3911
Unanswered
anupamtomar
asked this question in
Help Needed
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Getting Session ID is invalid related error when I have intentionally ended the browser using
await browser.end()
at the end of theit
Block and trying the new case on a new browser session in another or secondit
block, It is not creating the new browser session automatically inside the nextit
block execution and gets fail. Moreover, the session is successfully created during the first 'it' block or if I am executing any singleit
block at a time then it is working fine but altogether it executes only the firstit
block.Is it expected or am I doing something wrong?
Please someone help me to achieve this flow, I want to use a new browser session for each individual case or each individual 'it' block.
Using -
Nightwatch v3.1.3
Runner: Mocha
ES6 async/await
Beta Was this translation helpful? Give feedback.
All reactions