-
Notifications
You must be signed in to change notification settings - Fork 10
Description
🐞 Describe the bug
The new .NET/NUnit package Azure.Developer.Playwright.NUnit (v 1.0.0) does not provide any option to override the browser configuration to use a local browser for debugging. It always uses cloud hosted browsers even when debugging locally, which worked by default in the MPT platform.
As per the documentation, there was a configurable option available in the preview version of the library, to override this behavior via UseCloudHostedBrowsers setting in TestRunParameters, but for some reason it was removed in the GA release.
Can you please suggest/provide a configurable option to debug tests using a locally installed playwright browser? Currently we have to workaround it with preprocessor directive in the C#, but that's not a clean approach.
✅ Expected behavior
Should allow configurable setting to use Local Browser instead of a Cloud Browser for test debugging.
🔁 To reproduce
Steps to reproduce the behavior:
- Configure the app as per the sample provided for .NET/NUnit.
- Try debugging a test, the test starts execution in a cloud browser.
- There is no way to change this behavior without updating the code.