Microsoft Azure Playwright Testing client library for .NET
Microsoft Playwright Testing is a fully managed service that uses the cloud to enable you to run Playwright tests with much higher parallelization across different operating system-browser combinations simultaneously. This means faster test runs with broader scenario coverage, which helps speed up delivery of features without sacrificing quality. The service also enables you to publish test results and related artifacts to the service and view them in the service portal enabling faster and easier troubleshooting. With Microsoft Playwright Testing service, you can release features faster and more confidently.
Getting started
Install the package
Install the client library for .NET with NuGet:
dotnet add package Azure.Developer.MicrosoftPlaywrightTesting.TestLogger --prerelease
Authenticate the client
To learn more about options for Microsoft Entra Id authentication, refer to Azure.Identity credentials. You can also refer to [our samples] on how to configurate different Azure Identity credentials.
Prerequisites
- An Azure subscription
- Your Azure account must be assigned the Owner, Contributor, or one of the classic administrator roles.
Useful links
- Quickstart: Run end-to-end tests at scale
- Quickstart: Set up continuous end-to-end testing across different browsers and operating systems
- Explore features and benefits
- View Microsoft Playwright Testing service demo
- Documentation
- Pricing
- Share feedback
Key concepts
Key concepts of the Microsoft Playwright Testing NUnit SDK for .NET can be found here
Examples
Code samples for using this SDK can be found in the following locations
Troubleshooting
- File an issue via GitHub Issues.
- Check previous questions or ask new ones on Stack Overflow using Azure and .NET tags.
Next steps
Run tests in a CI/CD pipeline.
Learn how to manage access to the created workspace.
Experiment with different number of workers to determine the optimal configuration of your test suite.
Contributing
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit [cla.microsoft.com][cla].
This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For more information see the [Code of Conduct FAQ][coc_faq] or contact [opencode@microsoft.com][coc_contact] with any additional questions or comments.