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

Appium

570
570
+ 1
28
PhantomJS

1.2K
430
+ 1
18
Add tool

Appium vs PhantomJS: What are the differences?

What is Appium? Automation for iOS and Android Apps. Appium is an open source test automation framework for use with native, hybrid, and mobile web apps. It drives iOS and Android apps using the WebDriver protocol. Appium is sponsored by Sauce Labs and a thriving community of open source developers.

What is 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.

Appium can be classified as a tool in the "Mobile Testing Frameworks" category, while PhantomJS is grouped under "Headless Browsers".

Some of the features offered by Appium are:

  • Works on native and hybrid mobile apps
  • Write mobile tests using any language or framework
  • Open source

On the other hand, PhantomJS provides the following key features:

  • 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.

"Webdriverio support" is the top reason why over 5 developers like Appium, while over 12 developers mention "Scriptable web browser" as the leading cause for choosing PhantomJS.

Appium and PhantomJS are both open source tools. PhantomJS with 26.9K GitHub stars and 5.7K forks on GitHub appears to be more popular than Appium with 9.66K GitHub stars and 3.94K GitHub forks.

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

Advice on Appium and PhantomJS
Ankur Loriya
Needs advice
on
PhantomJSPhantomJS
and
PuppeteerPuppeteer

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?

See more
Replies (2)
Recommends
on
PuppeteerPuppeteer

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.

See more
Recommends
on
PuppeteerPuppeteer

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.

See more
Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of Appium
Pros of PhantomJS
  • 12
    Webdriverio support
  • 6
    Java, C#, Python support
  • 3
    Open source
  • 2
    Great GUI with inspector
  • 2
    Active community
  • 1
    Support android test automation
  • 1
    Internal API access
  • 1
    Support iOS test automation
  • 13
    Scriptable web browser
  • 3
    Depends on QT
  • 2
    No ECMAScript 6

Sign up to add or upvote prosMake informed product decisions

What is Appium?

Appium is an open source test automation framework for use with native, hybrid, and mobile web apps. It drives iOS and Android apps using the WebDriver protocol. Appium is sponsored by Sauce Labs and a thriving community of open source developers.

What is PhantomJS?

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

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

What companies use Appium?
What companies use PhantomJS?
Manage your open source components, licenses, and vulnerabilities
Learn More

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

What tools integrate with Appium?
What tools integrate with PhantomJS?

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

Blog Posts

What are some alternatives to Appium and PhantomJS?
Selendroid
Selendroid is a test automation framework which drives off the UI of Android native and hybrid applications (apps) and the mobile web. Tests are written using the Selenium 2 client API
Detox
High velocity native mobile development requires us to adopt continuous integration workflows, which means our reliance on manual QA has to drop significantly. It tests your mobile app while it's running in a real device/simulator, interacting with it just like a real user.
BrowserStack
BrowserStack is the leading test platform built for developers & QAs to expand test coverage, scale & optimize testing with cross-browser, real device cloud, accessibility, visual testing, test management, and test observability.
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.
JavaScript
JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
See all alternatives