Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

PhantomJS
PhantomJS

329
235
+ 1
17
Puppet Labs
Puppet Labs

587
400
+ 1
218
Add tool

PhantomJS vs Puppet Labs: What are the differences?

Developers describe PhantomJS as "Scriptable Headless WebKit". PhantomJS (www.phantomjs.org) is a headless WebKit scriptable with JavaScript. It is used by hundreds of developers and dozens of organizations for web-related development workflow. On the other hand, Puppet Labs is detailed as "Server automation framework and application". Puppet is an automated administrative engine for your Linux, Unix, and Windows systems and performs administrative tasks (such as adding users, installing packages, and updating server configurations) based on a centralized specification.

PhantomJS belongs to "Headless Browsers" category of the tech stack, while Puppet Labs can be primarily classified under "Server Configuration and Automation".

Some of the features offered by PhantomJS are:

  • Multiplatform, available on major operating systems: Windows, Mac OS X, Linux, and other Unices.
  • Fast and native implementation of web standards: DOM, CSS, JavaScript, Canvas, and SVG. No emulation!
  • Pure headless (no X11) on Linux, ideal for continuous integration systems. Also runs on Amazon EC2, Heroku, and Iron.io.

On the other hand, Puppet Labs provides the following key features:

  • Insight- Puppet Enterprise's event inspector gives immediate and actionable insight into your environment, showing you what changed, where and how by classes, nodes and resources.
  • Discovery- Puppet Enterprise delivers a dynamic and fully-pluggable discovery service that allows you to take advantage of any data source or real-time query results to quickly locate, identify and group cloud nodes.
  • Provisioning- Automatically provision and configure bare metal, virtual, and private or public cloud capacity, all from a single pane. Save time getting your cloud projects off the ground by reusing the same configuration modules you set up for your physical deployments.

"Scriptable web browser" is the primary reason why developers consider PhantomJS over the competitors, whereas "Devops" was stated as the key factor in picking Puppet Labs.

PhantomJS and Puppet Labs are both open source tools. PhantomJS with 26.9K GitHub stars and 5.7K forks on GitHub appears to be more popular than Puppet Labs with 5.37K GitHub stars and 2.1K GitHub forks.

According to the StackShare community, Puppet Labs has a broader approval, being mentioned in 180 company stacks & 49 developers stacks; compared to PhantomJS, which is listed in 77 company stacks and 47 developer stacks.

What is PhantomJS?

PhantomJS (www.phantomjs.org) is a headless WebKit scriptable with JavaScript. It is used by hundreds of developers and dozens of organizations for web-related development workflow.

What is Puppet Labs?

Puppet is an automated administrative engine for your Linux, Unix, and Windows systems and performs administrative tasks (such as adding users, installing packages, and updating server configurations) based on a centralized specification.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose PhantomJS?
Why do developers choose Puppet Labs?

Sign up to add, upvote and see more prosMake informed product decisions

    Be the first to leave a con
    What companies use PhantomJS?
    What companies use Puppet Labs?

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with PhantomJS?
    What tools integrate with Puppet Labs?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    What are some alternatives to PhantomJS and Puppet Labs?
    Selenium
    Selenium automates browsers. That's it! What you do with that power is entirely up to you. Primarily, it is for automating web applications for testing purposes, but is certainly not limited to just that. Boring web-based administration tasks can (and should!) also be automated as well.
    Electron
    With Electron, creating a desktop application for your company or idea is easy. Initially developed for GitHub's Atom editor, Electron has since been used to create applications by companies like Microsoft, Facebook, Slack, and Docker. The Electron framework lets you write cross-platform desktop applications using JavaScript, HTML and CSS. It is based on io.js and Chromium and is used in the Atom editor.
    Protractor
    Protractor is an end-to-end test framework for Angular and AngularJS applications. Protractor runs tests against your application running in a real browser, interacting with it as a user would.
    wkhtmltopdf
    wkhtmltopdf and wkhtmltoimage are command line tools to render HTML into PDF and various image formats using the QT Webkit rendering engine. These run entirely "headless" and do not require a display or display service.
    SlimerJS
    It allows you to manipulate a web page with an external Javascript script: opening a webpage, clicking on links, modifying the content... It is useful to do functional tests, page automation, network monitoring, screen capture etc.
    See all alternatives
    Decisions about PhantomJS and Puppet Labs
    StackShare Editors
    StackShare Editors
    Ansible
    Ansible
    Puppet Labs
    Puppet Labs
    Salt
    Salt

    By 2014, the DevOps team at Lyft decided to port their infrastructure code from Puppet to Salt. At that point, the Puppet code based included around "10,000 lines of spaghetti-code,” which was unfamiliar and challenging to the relatively new members of the DevOps team.

    “The DevOps team felt that the Puppet infrastructure was too difficult to pick up quickly and would be impossible to introduce to [their] developers as the tool they’d use to manage their own services.”

    To determine a path forward, the team assessed both Ansible and Salt, exploring four key areas: simplicity/ease of use, maturity, performance, and community.

    They found that “Salt’s execution and state module support is more mature than Ansible’s, overall,” and that “Salt was faster than Ansible for state/playbook runs.” And while both have high levels of community support, Salt exceeded expectations in terms of friendless and responsiveness to opened issues.

    See more
    Marcel Kornegoor
    Marcel Kornegoor
    CTO at AT Computing · | 5 upvotes · 93.7K views
    atAT ComputingAT Computing
    Python
    Python
    Chef
    Chef
    Puppet Labs
    Puppet Labs
    Ansible
    Ansible
    Google Compute Engine
    Google Compute Engine
    Kubernetes
    Kubernetes
    Docker
    Docker
    GitHub
    GitHub
    VirtualBox
    VirtualBox
    Jenkins
    Jenkins
    Visual Studio Code
    Visual Studio Code
    Fedora
    Fedora
    Red Hat Enterprise Linux
    Red Hat Enterprise Linux
    Debian
    Debian
    CentOS
    CentOS
    Ubuntu
    Ubuntu
    Linux
    Linux
    #ATComputing

    Since #ATComputing is a vendor independent Linux and open source specialist, we do not have a favorite Linux distribution. We mainly use Ubuntu , Centos Debian , Red Hat Enterprise Linux and Fedora during our daily work. These are also the distributions we see most often used in our customers environments.

    For our #ci/cd training, we use an open source pipeline that is build around Visual Studio Code , Jenkins , VirtualBox , GitHub , Docker Kubernetes and Google Compute Engine.

    For #ServerConfigurationAndAutomation, we have embraced and contributed to Ansible mainly because it is not only flexible and powerful, but also straightforward and easier to learn than some other (open source) solutions. On the other hand: we are not affraid of Puppet Labs and Chef either.

    Currently, our most popular #programming #Language course is Python . The reason Python is so popular has to do with it's versatility, but also with its low complexity. This helps sysadmins to write scripts or simple programs to make their job less repetitive and automating things more fun. Python is also widely used to communicate with (REST) API's and for data analysis.

    See more
    Tim Abbott
    Tim Abbott
    Founder at Zulip · | 3 upvotes · 13K views
    atZulipZulip
    Node.js
    Node.js
    PhantomJS
    PhantomJS
    CasperJS
    CasperJS

    We use CasperJS because we adopted it back in 2013 for JavaScript frontend testing. It was a really nice system back then compared to what else was out there; you had PhantomJS as a programmable browser that actually rendered CSS and everything, it was really fast (speed is a big downside of e.g. Selenium), and it was possible to make non-flaky frontend integration tests with it.

    I wouldn't recommend it today, because PhantomJS is a basically dead project, and as a result, so is CasperJS. I expect we'll migrate to something else. We haven't in large part because 95% of our new tests are written with a simple Node.js-based unit testing framework we use that run 35K lines of unit tests covering most of our JS codebase in 3.6 seconds. And for the things where we want an integration test, CasperJS does work, and I think there's a good chance that waiting another year or two will result in our being able to switch to a much better option than what we'd get if we migrated now.

    See more
    Interest over time
    Reviews of PhantomJS and Puppet Labs
    No reviews found
    How developers use PhantomJS and Puppet Labs
    Avatar of Cyrus Stoller
    Cyrus Stoller uses Puppet LabsPuppet Labs

    I'm using puppet to configure my servers. This makes it really simple to ensure that I have the same environment. There is a bit of a learning curve, but the repeatability definitely makes it worth the effort. I found puppet to be a little easier to pick up relative to chef, but I've used both. They're both great solutions.

    I really like that there are a lot of modules available on the puppet forge that are being actively maintained.

    Avatar of Trusted Shops GmbH
    Trusted Shops GmbH uses Puppet LabsPuppet Labs

    We provision all servers with puppet. We have one central Puppet server which uses puppet modules referenced by a Puppetfile. Those puppet modules are partly from forge and partly self written.

    All modules which are self written, have to be tested using rspec-puppet and beaker.

    Avatar of fadingdust
    fadingdust uses PhantomJSPhantomJS

    We run PhantomJS as part of the CircleCI testing, comparing against other branches to ensure changes are limited to their intended scope.

    Avatar of Opstax Ltd
    Opstax Ltd uses Puppet LabsPuppet Labs

    Opstax uses puppet for role/profile based configuration management and the distribution of small/static code.

    Avatar of GeniusLink
    GeniusLink uses Puppet LabsPuppet Labs

    Configures or servers and allows us to be region independent we have 5 regions across the globe.

    Avatar of Nough You
    Nough You uses PhantomJSPhantomJS

    Headless browsing, headless chrome is good too, this is not supported anymore.

    Avatar of ByeongGi
    ByeongGi uses PhantomJSPhantomJS
    • 웹 크롤링(스프랩핑) 공부를 위해서 가상 브라우져에서 제이쿼리를 로딩하여 페이스북에서 무한 스크롤시에 발생 하는 데이터를 수집힘
    Avatar of Veggie Sailor
    Veggie Sailor uses PhantomJSPhantomJS

    Functional tests / screenshots generation.

    Avatar of Michael Wieland
    Michael Wieland uses Puppet LabsPuppet Labs

    The server is set up using Puppet

    Avatar of Alexpts Pts
    Alexpts Pts uses PhantomJSPhantomJS
    How much does PhantomJS cost?
    How much does Puppet Labs cost?
    Pricing unavailable
    Pricing unavailable