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]: Visual Studio 2022 Playwright project by default uses old chromium version #3092

Open
KyleLJohnson opened this issue Dec 30, 2024 · 1 comment

Comments

@KyleLJohnson
Copy link

KyleLJohnson commented Dec 30, 2024

Version

1.27.1

Steps to reproduce

Steps:

  1. Added Playwright project to existing solution.
  2. Added tests to unit test file.
  3. Ran pwsh bin/Debug/net8.0/playwright.ps1 install
  4. Ran tests in Test Explorer
    Executable doesn't exist at C:\Users\xxx\AppData\Local\ms-playwright\chromium-1028\chrome-win\chrome.exe

I was able to see the error when I ran the tests in VSCode.

Expected behavior

Tests should have ran successfully.

Actual behavior

Error displayed.

Executable doesn't exist at C:\Users\kyjohnso\AppData\Local\ms-playwright\chromium-1028\chrome-win\chrome.exe

Additional context

If I update the playwright nuget package, it resolves the issue.

Environment

System:
    OS: Windows 11 10.0.26100
    CPU: (12) x64 12th Gen Intel(R) Core(TM) i7-1265U
    Memory: 4.64 GB / 31.83 GB
  Binaries:
    Node: 21.2.0 - C:\Program Files\nodejs\node.EXE
    npm: 10.2.3 - C:\Program Files\nodejs\npm.CMD
  IDEs:
    VSCode: 1.96.2 - C:\Users\xxx\AppData\Local\Programs\Microsoft VS Code\bin\code.CMD
@yury-s yury-s transferred this issue from microsoft/playwright Dec 30, 2024
@mxschmitt
Copy link
Member

v1.27.1 seems very old - we recommend using latest. It seems working there?

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

2 participants