Driver.quit(), driver.close() after methods/each test

Hi all,
Was wondering if the usage of driver.quit() and driver.close() is mandatory after each test?
Currently I’m initializing the driver in BeforeMethod and in AfterMethod i’m using driver.quit.
I want to uninstall the app AfterSuite and to do this I need to keep the driver instance alive after all tests are finish.

I tried to remove the driver.quit() after methods the tests are working well, no problem. But I still have the question in my mind what is the best practice.

Thanks in advance

1 Like