Playwright (software)

Playwright
Developer(s)Microsoft
Initial releaseJanuary 31, 2020; 4 years ago (2020-01-31)[1]
Stable release
v1.45.1[2] / 3 July 2024; 2 months ago (2024-07-03)
Repositorygithub.com/microsoft/playwright
Written inTypeScript
Operating systemMicrosoft Windows, macOS, Linux
TypeSoftware testing framework for web applications
LicenseApache License 2.0
Websiteplaywright.dev

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.

  1. ^ "v0.10.0 release". GitHub. Retrieved 1 June 2022.
  2. ^ Tags · microsoft/playwright · GitHub
  3. ^ Bansal, Mudit; Dar, Muhammad Ameen; Bhat, Moshin Manzoor; Sharma, Tushar; Uniyar, Rishita (2023). "Data Ingestion and Processing using Playwright". TechRxiv.
  4. ^ Yegulalp, Serdar (30 September 2020). "Microsoft's Playwright simplifies tests for Python web apps". InfoWorld. IDG Communications. Retrieved 2 July 2023.
  5. ^ Tung, Liam (1 October 2020). "Microsoft: Playwright for Python language lets you test web apps in all major browsers". ZDNET. Retrieved 2 July 2023.
  6. ^ Judis, Stefan (22 October 2022). "Playwright, a Time-Saving End-to-End Testing Framework". The New Stack. Retrieved 2 July 2023.
  7. ^ Tej, Krishna. "Playwright vs Cypress: A Comparison". BrowserStack. Retrieved 2 July 2023.