playwright
by microsoft
Playwright is a framework that controls Chromium, Firefox and WebKit browsers through a single programming interface. It is used to write automated tests for websites, run browser scripts, and give AI agents control of a browser.
- Stars
- 98.6k
- Licence
- Apache-2.0
- Runs on
- Your computer
- Setup
- Moderate
- Language
- TypeScript
- Age
- 2537 days
What you can do with it
- Write end-to-end tests that check your website works in Chromium, Firefox and WebKit
- Script browser tasks such as taking screenshots, generating PDFs or collecting page data
- Let an AI coding assistant open and operate web pages through the command line tool or MCP server
Make money with it
A freelancer could offer website testing and browser automation services, setting up automated test suites or repetitive-task scripts for small businesses.
An idea, not financial advice. Check the licence before charging for anything built on it.
Ways a business could use it
- Run automated checks on your website or online shop before each update, so broken checkouts or forms are caught without paying for manual testing
- Automate repetitive browser jobs such as generating PDF reports or capturing screenshots of pages, saving staff time
Can you use it commercially?
Free to use, change and sell, including in paid products. Keep the copyright notice.
Not legal advice. Read the project's licence file before building a product on it.
Getting it running
Install it with npm, for example by running "npm init playwright@latest", which also downloads the browsers it needs.
Follow the official instructions in the project README.
Things to check
- Requires programming knowledge, so it is not suited to non-technical users
- Scraping websites with it may breach some sites' terms of service
Checked 26 Oct 2026. Summary drafted by AI from the project's README.