playwright-dotnet
playwright-dotnet copied to clipboard
[Feature]: Allow convenient browser option changes in XUnit v3 without `.runnsettings` in the new Microsoft Test Platform
🚀 Feature Request
I would like to conveniently change the options using an additional method, similar to ConnectOptionsAsync, e.g., LaunchOptionsAsync. In it, I can add my own code and additionally inject my own environment variables or settings, depending on the needs of my test.
Example
No response
Motivation
We run tests in Azure DevOps and on local computers. We use dotnet run instead of dotnet test. I haven't found a convenient method to inject args into Playwright using ENV. Additionally, PlaywrightSettingsProvider requires XML.