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] Playwright throws exception "Browser closed" when testing against MS Edge #17448
Comments
could you open Microsoft Edge and go to Also maybe se the It might be a duplicate / the same as #13631 but we'd need to confirm via looking at the protocol (setting the env gives us the needed output). |
Thanks, @mxschmitt. What part of the policy would be useful to share? Also, setting |
@arc95 since we have no clue yet about which one might be useful, I'd recommend sharing all of them! Do you have ExtensionInstallForcelist policy set? If you execute it via PowerShell, then you need to execute |
@mxschmitt, I exported the policies; please see below (sensitive data has been replaced with
|
This was really helpful! Turns out the I'd recommend contacting your IT to move this group policy from |
Closing as per above and we added a note about that in the docs: #17449 |
Thanks, @mxschmitt, for working on this. Your help is much appreciated. |
java使用
`Exception in thread "main" com.microsoft.playwright.PlaywrightException: Error {
|
Context:
Code Snippet
Describe the bug
Running Visual Studio Enterprise in non-admin, the above code throws this exception:
If I open Visual Studio with "Run as administrator", the test runs fine and MS Edge opens successfully. I have a Stack Overflow post about this here: https://stackoverflow.com/questions/73651755/playwright-throws-exception-browser-closed-when-testing-against-ms-edge/
Thank you.
The text was updated successfully, but these errors were encountered: