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]: browsers Issue #33677

Open
gowththota-sfa opened this issue Nov 19, 2024 · 1 comment
Open

[Bug]: browsers Issue #33677

gowththota-sfa opened this issue Nov 19, 2024 · 1 comment

Comments

@gowththota-sfa
Copy link

Version

1.48.2

Steps to reproduce

I am using default microsoft edge browser and its the only one we can use as per our policy.Cant download the browsers.
I have installed playwright and configured it as per the playwright website removed all the browsers and kept the and ran the sample tests .
{
name: 'Microsoft Edge',
use: { ...devices['Desktop Edge'], channel: 'msedge' },

},

Expected behavior

It worked fine with the example specs.
It should trigger my tests as well

Actual behavior

I have created simple pageobject model framework and tried to run the tests but getting issue with browsers

Error: browserContext.newPage: Executable doesn't exist at path\AppData\Local\ms-playwright\ffmpeg-1010\ffmpeg-win64.exe
╔═════════════════════════════════════════════════════════════════════════╗
║ Looks like Playwright Test or Playwright was just installed or updated. ║
║ Please run the following command to download new browsers: ║
║ ║
║ npx playwright install ║
║ ║
║ <3 Playwright Team ║
╚═════════════════════════════════════════════════════════════════════════╝

how can i resolve this issue inorder to use the default browser Microsoft edge in my system.

Additional context

No response

Environment

Windows11
@dgozman
Copy link
Contributor

dgozman commented Nov 20, 2024

@gowththota-sfa Thank you for the issue. A few questions:

  • Did you run npx playwright install? This was not clear from the description?
  • Did you run npx playwright install msedge? This should auto-detect your existing Microsoft Edge installation, but also install ffmpeg required for the video recording to work.
  • Have you considered turning off video recording in your playwright.config.ts? That's the only feature that needs ffmpeg. If you cannot run any non-approved binaries, perhaps this would be the best solution.

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