Need advice about which tool to choose?Ask the StackShare community!
Puppeteer vs Salt: What are the differences?
Developers describe Puppeteer as "Headless Chrome Node API". 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. On the other hand, Salt is detailed as "Fast, scalable and flexible software for data center automation". Salt is a new approach to infrastructure management. Easy enough to get running in minutes, scalable enough to manage tens of thousands of servers, and fast enough to communicate with them in seconds Salt delivers a dynamic communication bus for infrastructures that can be used for orchestration, remote execution, configuration management and much more..
Puppeteer belongs to "Headless Browsers" category of the tech stack, while Salt can be primarily classified under "Server Configuration and Automation".
Puppeteer and Salt are both open source tools. Puppeteer with 51.2K GitHub stars and 4.72K forks on GitHub appears to be more popular than Salt with 10.1K GitHub stars and 4.59K GitHub forks.
Lyft, LinkedIn, and Hulu are some of the popular companies that use Salt, whereas Puppeteer is used by Huddle, Better, and Orangesys Inc.. Salt has a broader approval, being mentioned in 110 company stacks & 20 developers stacks; compared to Puppeteer, which is listed in 25 company stacks and 19 developer stacks.
I am using Node 12 for server scripting and have a function to generate PDF and send it to a browser. Currently, we are using PhantomJS to generate a PDF. Some web post shows that we can achieve PDF generation using Puppeteer. I was a bit confused. Should we move to puppeteerJS? Which one is better with NodeJS for generating PDF?
You better go with puppeteer. It is basically chrome automation tool, written in nodejs. So what you get is PDF, generated by chrome itself. I guess there is hardly better PDF generation tool for the web. Phantomjs is already more or less outdated as technology. It uses some old webkit port that's quite behind in terms of standards and features. It can be replaced with puppeteer for every single task.
I suggest puppeteer to go for. It is simple and easy to set up. Only limitaiton is it can be used only for chrome browser and currently they are looking into expanding into FF. The next thing is Playwright which is just a scale up of Puppeteer. It supports cross browsers.
Pros of Puppeteer
- Very well documented10
- Scriptable web browser10
- Promise based6
Pros of Salt
- Flexible47
- Easy30
- Remote execution27
- Enormously flexible24
- Great plugin API12
- Python10
- Extensible5
- Scalable3
- nginx2
- Vagrant provisioner1
- HipChat1
- Best IaaC1
- Automatisation1
- Parallel Execution1
Sign up to add or upvote prosMake informed product decisions
Cons of Puppeteer
- Chrome only10
Cons of Salt
- Bloated1
- Dangerous1
- No immutable infrastructure1









