Forum Discussion

sudam_SL's avatar
sudam_SL
Contributor
3 years ago

How can we close browser when test fail

Is there any way to close the browser instance when the test case gets failed? (otherwise, it trying to continue the next test case on the same browser instance) i need to start each test with the new browser instance. please help me with this.