Remove the “driver.quit();” to avoid closing of browser in Selenium WebDriver.
“driver.quit();” will be usually in the method where @After annotation is used.
Note:
Be very careful in removing “driver.quit();” this code since it may cause failure in some kind of tasks where “driver.quit();” is used explicitly for their requirement.