Playwright logo

Playwright

Node library to automate Chromium, Firefox and WebKit with a single API (By Microsoft)
88
194
+ 1
35

What is Playwright?

It is a Node library to automate the Chromium, WebKit and Firefox browsers with a single API. It enables cross-browser web automation that is ever-green, capable, reliable and fast.
Playwright is a tool in the Browser Testing category of a tech stack.
Playwright is an open source tool with 31K GitHub stars and 1.3K GitHub forks. Here’s a link to Playwright's open source repository on GitHub

Who uses Playwright?

Companies
14 companies reportedly use Playwright in their tech stacks, including Shelf, FindHotel, and resily.

Developers
70 developers on StackShare have stated that they use Playwright.

Playwright Integrations

Pros of Playwright
10
Cross browser
6
Open source
5
Promise based
5
Test Runner with Playwright/test
4
Well documented
1
Inbuild reporters html,line,dot,json
1
Execute tests in parallel
1
Context isolation
1
Capture videos, screenshots and other artifacts on fail
1
Integrate your POMs as extensible fixtures

Playwright's Features

  • Node library
  • Headless supported
  • Enables cross-browser web automation
  • Improved automated UI testing

Playwright Alternatives & Comparisons

What are some alternatives to Playwright?
Puppeteer
Puppeteer is a Node library which provides a high-level API to control headless Chrome over the DevTools Protocol. It can also be configured to use full (non-headless) Chrome.
Selenium
Selenium automates browsers. That's it! What you do with that power is entirely up to you. Primarily, it is for automating web applications for testing purposes, but is certainly not limited to just that. Boring web-based administration tasks can (and should!) also be automated as well.
Protractor
Protractor is an end-to-end test framework for Angular and AngularJS applications. Protractor runs tests against your application running in a real browser, interacting with it as a user would.
Cypress
Cypress is a front end automated testing application created for the modern web. Cypress is built on a new architecture and runs in the same run-loop as the application being tested. As a result Cypress provides better, faster, and more reliable testing for anything that runs in a browser. Cypress works on any front-end framework or website.
TestCafe
It is a pure node.js end-to-end solution for testing web apps. It takes care of all the stages: starting browsers, running tests, gathering test results and generating reports.
See all alternatives

Playwright's Followers
194 developers follow Playwright to keep up with related blogs and decisions.