Get Advice Icon

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

PhantomJS
PhantomJS

330
235
+ 1
17
SlimerJS
SlimerJS

3
0
+ 1
0
Add tool

PhantomJS vs SlimerJS: What are the differences?

PhantomJS: 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; SlimerJS: A scriptable browser for Web developers. 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.

PhantomJS and SlimerJS belong to "Headless Browsers" category of the tech stack.

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, SlimerJS provides the following key features:

  • Read and write files
  • Load a web page and inspect its content
  • Act on a web page like a user: click on links, fill in form fields etc

PhantomJS and SlimerJS are both open source tools. It seems that PhantomJS with 27K GitHub stars and 5.72K forks on GitHub has more adoption than SlimerJS with 2.87K GitHub stars and 288 GitHub forks.

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 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.
Get Advice Icon

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

Why do developers choose PhantomJS?
Why do developers choose SlimerJS?
    Be the first to leave a pro
      Be the first to leave a con
        Be the first to leave a con
        What companies use PhantomJS?
        What companies use SlimerJS?

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

        What tools integrate with PhantomJS?
        What tools integrate with SlimerJS?

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

        What are some alternatives to PhantomJS and SlimerJS?
        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.
        Puppeteer
        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.
        See all alternatives
        Decisions about PhantomJS and SlimerJS
        Tim Abbott
        Tim Abbott
        Founder at Zulip ยท | 3 upvotes ยท 14.5K 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 SlimerJS
        No reviews found
        How developers use PhantomJS and SlimerJS
        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 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 Alexpts Pts
        Alexpts Pts uses PhantomJSPhantomJS
        How much does PhantomJS cost?
        How much does SlimerJS cost?
        Pricing unavailable
        Pricing unavailable
        News about SlimerJS
        More news