Using Playwright/Puppeteer’s method
browser.close() does not delete the browser. Use one of the methods below to delete the browser.Deleting a browser via session ID
Every browser instance has asession_id. You can delete any browser using its session ID:
Automatic deletion via timeout
If you don’t manually delete a browser, it will be automatically deleted after a configurabletimeout (default 60 seconds). The timeout begins when the browser does not see a CDP or live view connection.
You can set a custom timeout of up to 72 hours when creating a browser:

