You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I was running the playwright automation test in cron job. When ever the first job is completed it is leaving few firefox browser instance running in background and not closing. After running multiple instances. I'm facing memory leak issue.
this is before running a job
this is after job is completed
.
The text was updated successfully, but these errors were encountered:
In case someone else had the same issue, I was issuing new context (multiple incognito, multiple login)
I had to do browserContext()?.close() before browser.close(), it's not quite explained in the docs, but it is in the source code.
Context:
Describe the bug
I was running the playwright automation test in cron job. When ever the first job is completed it is leaving few firefox browser instance running in background and not closing. After running multiple instances. I'm facing memory leak issue.
this is before running a job
this is after job is completed
.
The text was updated successfully, but these errors were encountered: