Developer(s) | Microsoft |
---|---|
Initial release | January 31, 2020[1] |
Stable release | v1.45.1[2]
/ 3 July 2024 |
Repository | github |
Written in | TypeScript |
Operating system | Microsoft Windows, macOS, Linux |
Type | Software testing framework for web applications |
License | Apache License 2.0 |
Website | playwright |
Playwright is an open-source automation library for browser testing and web scraping[3] developed by Microsoft[4][5] and launched on 31 January 2020, which has since become popular among programmers and web developers.
Playwright provides the ability to automate browser tasks in Chromium, Firefox and WebKit[6] with a single API. This allows developers to create reliable end-to-end tests that are capable of running in non-headless mode, as well as in headless mode for automation. Playwright has been compared to Cypress.[7]
Playwright supports programming languages like JavaScript, Python, C# and Java, though its main API was originally written in Node.js. It supports all modern web features including network interception and multiple browser contexts and provides automatic waiting, which reduces the flakiness of tests.