puppeteer
by puppeteer
Puppeteer is a JavaScript library that lets you control the Chrome or Firefox browser from code, running without a visible window by default. It is used to automate web tasks such as testing pages, taking screenshots and filling in forms.
- Stars
- 95.7k
- Licence
- Apache-2.0
- Runs on
- Your computer
- Setup
- Moderate
- Language
- TypeScript
- Age
- 3456 days
What you can do with it
- Write scripts that open web pages, click buttons and fill in forms automatically
- Run automated tests on a website in a real Chrome or Firefox browser
- Capture screenshots or PDFs of web pages and read text from them
Make money with it
A freelancer could offer paid browser automation, website testing or automated report generation services to small businesses.
An idea, not financial advice. Check the licence before charging for anything built on it.
Ways a business could use it
- Automate repetitive browser tasks, such as checking competitor prices or filling in web forms, to save staff time
- Generate PDFs or screenshots of web pages and reports for clients instead of paying for a separate service
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 into a Node.js project with npm i puppeteer, which also downloads a compatible Chrome, or use puppeteer-core to skip the browser download.
Follow the official instructions in the project README.
Things to check
- Requires JavaScript programming knowledge
- Scraping sites with it may breach their terms of service
- Newer package managers block the browser download by default, so a manual step may be needed
Checked 26 Oct 2026. Summary drafted by AI from the project's README.