How to prevent from browser closing in test suite

even I am facing same issue when i run through command line