What is the Caches/ms-playwright folder on my Mac?

It belongs to Playwright. Here’s what’s inside and the right way to deal with it.

Short answer

Playwright downloads full copies of Chromium, Firefox and WebKit for testing, one set per Playwright version. Old versions pile up. They’re safe to remove; Playwright installs the browsers it needs again.

Location: ~/Library/Caches/ms-playwright

What’s inside

  • Chromium, Firefox and WebKit builds
  • One folder per browser version
Our verdict: Safe. Your Mac or your apps recreate this automatically. Removing it won’t lose anything you made.

The Playwright way

npx playwright uninstall --all

Then npx playwright install in a project that needs them.

Find every folder like this on your Mac

Tidy Mac’s Space Map shows every big folder at its real size, and Apps › Leftovers finds folders left by apps you already deleted.

Frequently asked questions

Can I delete Caches/ms-playwright?

Safe: Your Mac or your apps recreate this automatically. Removing it won’t lose anything you made. Playwright downloads full copies of Chromium, Firefox and WebKit for testing, one set per Playwright version. Old versions pile up. They’re safe to remove; Playwright installs the browsers it needs again.

Where is Caches/ms-playwright on my Mac?

~/Library/Caches/ms-playwright. In Finder choose Go › Go to Folder and paste the path.

How big does Caches/ms-playwright get?

Usually 1 – 5 GB.

Keep reading