jest-puppeteer VS Playwright

Compare jest-puppeteer vs Playwright and see what are their differences.


Run your tests using Jest & Puppeteer 🎪✨ (by smooth-code)


Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API. (by microsoft)
Our great sponsors
  • Appwrite - The Open Source Firebase alternative introduces iOS support
  • Scout APM - Truly a developer’s best friend
  • SonarQube - Static code analysis for 29 languages.
  • - Download’s Tech Salary Report
jest-puppeteer Playwright
2 206
3,378 42,656
0.5% 4.9%
6.6 10.0
2 months ago 3 days ago
JavaScript TypeScript
MIT License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of jest-puppeteer. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-03-04.
  • Evaluation of Microsoft Playwright
    7 projects | | 4 Mar 2021
    jest-playwright is added to the jest configuration as a preset which makes all the features available to be used at your disposal. It was inspired by jest-puppeteer.
  • Run end-to-end testing with Jest and Puppeteer
    3 projects | | 3 Mar 2021
    jestPuppeteer.debug() as in the documentation (on GitHub) suspends test execution and allows you to see what's going on in the browser. It uses the jestPuppeteer.debug() method which enables you to pause the tests to inspect the browser.


Posts with mentions or reviews of Playwright. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-20.
  • Cypress vs Playwright – Clash of the Titans: Introduction (1)
    3 projects | | 20 Sep 2022
    GitHub issues:
  • Looking for advice in creating event-driven PowerShell Scripts
    6 projects | | 20 Sep 2022
    3) You can may also add a testing stage in your deployment pipeline. So for example if you re-deploy your stack to update the PowerShell version, then you may want to check if the new PS version works with your code. Hence the testing stage in your pipeline, the pester module works wonders here. This is usually referred as Integration Testing. (note if you want to test your UI then Playwright is a nice framework)
  • Application Architecture for Angular Project
    3 projects | | 20 Sep 2022
    For E2E testing, I recommend Playwright. For libraries of components, Storybook might be handy.
  • Open sourced the React/XState UI framework I've been using at work the past few years
    2 projects | | 19 Sep 2022
    Nope! Works just fine with @xstate/test. You write a test model with it and perform your actions/asserstions via the view, or you can test against the machine directly but then you aren't testing the view. It's something that I haven't had enough experience to explore properly but we have one semi-complex UI component written with xstate-tree tested using @xstate/test in that fashion. I've also written all the E2E tests for our Electron desktop app with @xstate/test driving Playwright. Though for that I wrote a layer ontop of @xstate/test that allows you to group the model into "Zones" representing a specific portion of the UI so you don't have to deal with a single large test model.
  • Why is NYU API deprecated?
    3 projects | | 15 Sep 2022
    Would it be possible to use a headless browser (e.g. Playwright) to programmatically navigate the official public course search website and scrape information with innerText, query selectors, and/or regex? Also, I really wish that you could still make information on previous semesters available through the endpoints as they are valuable to many students as well (e.g. to look at frequencies of classes being offered in the past).
  • Web Scraping With Python (An Ultimate Guide)
    3 projects | | 15 Sep 2022
  • Service or plugin to monitor if a page changes, or a form stops working?
    3 projects | | 15 Sep 2022
    You could wire up a Puppeteer / Playwright script to hit your website and check for the existence of your form element and then send yourself an alert (maybe through Mailgun or something similar) if the form is missing
  • Remote web browser solutions
    2 projects | | 12 Sep 2022
    If you're instead hoping to do everything in an automated fashion, without manual interaction, I might do this with a webdriver or some other way of controlling a browser in headless mode. Maybe something like Puppeteer or Selenium or playwright. All of these I think require some knowledge of basic programming beyond just shell scripting, however.
  • Integration testing the Payment Element with Playwright
    2 projects | | 12 Sep 2022
    // @ts-check const { test, expect } = require('@playwright/test'); test('homepage has Playwright in title and get started link linking to the intro page', async ({ page }) => { // Load in the browser await page.goto(''); // Expect a title "to contain" a substring. await expect(page).toHaveTitle(/Playwright/); // create a locator const getStarted = page.locator('text=Get Started'); // Expect an attribute "to be strictly equal" to the value. await expect(getStarted).toHaveAttribute('href', '/docs/intro'); // Click the get started link. await; // Expects the URL to contain intro. await expect(page).toHaveURL(/.*intro/); });
  • YouTube-dl has a JavaScript interpreter written in 870 lines of Python
    19 projects | | 10 Sep 2022
    By the way there is also Playwright [1] and it has Python bindings too [2].



What are some alternatives?

When comparing jest-puppeteer and Playwright you can also consider the following projects:

WebdriverIO - Next-gen browser and mobile automation test framework for Node.js

Cypress - Fast, easy and reliable testing for anything that runs in a browser.

TestCafe - A Node.js tool to automate end-to-end web testing.

undetected-chromedriver - Custom Selenium Chromedriver | Zero-Config | Passes ALL bot mitigation systems (like Distil / Imperva/ Datadadome / CloudFlare IUAM)

Cucumber.js - Cucumber for JavaScript

playwright-python - Python version of the Playwright testing and automation library.

nightwatch - End-to-end testing framework written in Node.js and using the W3C Webdriver API

browser-fingerprinting - Analysis of Bot Protection systems with available countermeasures 🚿. How to defeat anti-bot system 👻 and get around browser fingerprinting scripts 🕵️‍♂️ when scraping the web?

SvelteKit - The fastest way to build Svelte apps

Protractor - E2E test framework for Angular apps

puppeteer - Headless Chrome Node.js API

jest-playwright - Running tests using Jest & Playwright