microsoft / playwright

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
https://playwright.dev
Apache License 2.0
67.11k stars 3.69k forks source link

[Bug]: browsers Issue #33677

Open gowththota-sfa opened 2 days ago

gowththota-sfa commented 2 days ago

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 commented 2 days ago

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