Playwright | Tracetest Integration
![](https://cdn.prod.website-files.com/6294fb77ef49576f8469fc66/668e7428d336b3d4f6084a30_Playwright_logo.png)
Playwright, built by Microsoft, is a nodeJS framework used to automate web browsers. It is JavaScript-based, and allows end-to-end testing via the browser. It supports Chromium, Firefox, and Webkit with a single API.
What does Playwright do?
Playwright allows developers and testers to automate web browsers, allowing them to quickly build powerful tests against their modern web applications. While newer than Cypress, Playwright is quickly being adapted by development teams.
How does Tracetest work with Playwright?
Playwright excels at driving tests in the browser to check front end web applications. The Tracetest integration with Playwright allows you to also apply a trace-based test against the entire application - from the front end to the backend. It does this by including a Tracetest npm package, annotating the existing Playwright test to also enable the Tracetest, and then capturing a full distributed trace and sending the results to Tracetest. Tracetest allows assertions to be created which can verify the entire process based on data contained in the distributed trace.
How do I get started using Tracetest with Playwright?
- Create an account on Tracetest.
- Configure Tracetest to communicate with your local environment by running the Tracetest agent.
- Let Tracetest know how it will get the distributed tracing data by configuring the tracing backend.
- See the Playwright example to learn how to add Tracetest to your current Playwright test.
Links: