Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]Once test execution is completed, error in closing chromium browser #2645

Closed
vrknetha opened this issue Jun 19, 2020 · 4 comments
Closed

Comments

@vrknetha
Copy link

Context:

  • Playwright Version: 1.0.2
  • Operating System: Windows
  • Node version: v12.16.3
  • Browser: Chromium
  • Extra: [any specific details about your environment]

Code Snippet

[Error: EPERM: operation not permitted, unlink 'C:**\AppData\Local\Temp\playwright_chromiumdev_profile-K5r8aA\CrashpadMetrics-active.pma'] {
errno: -4048,
code: 'EPERM',
syscall: 'unlink',
path: 'C:\****\AppData\Local\Temp\playwright_chromiumdev_profile-K5r8aA\CrashpadMetrics-active.pma'
}

Describe the bug

If we are using more pages for tests, once the execution is completed. chromium won't close by itself. We need to close manually from task manager.

@mxschmitt
Copy link
Member

Could we get a minimal Javascript reproducible how the error occurs? Are you using Jest?
Keep in mind, that you have to close the browser with await browser.close() at the end of your tests. Also when they are failing, e.g. with a try catch.

@aslushnikov
Copy link
Collaborator

@vrknetha I don't think this is actionable unless we can debug it :(

Can you please share a script for us to try?

@vrknetha
Copy link
Author

Ok, I will create a new repo and share it here.

@aslushnikov
Copy link
Collaborator

This is not actionable without a repro - closing this for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants