Softwr

Mobile Development · head to head

Apache Cordova vs WebdriverIO

Apache Cordova logo

Apache Cordova

Mobile Development

Open source framework for wrapping HTML, CSS and JavaScript apps as mobile apps

From
Free
Free plan
Yes
WebdriverIO logo

WebdriverIO

Testing

Open source Node.js browser and mobile automation framework, governed under the OpenJS Foundation with Sauce Labs as a premium sponsor

From
Free
Free plan
Yes

The short version

  • Both are free.
  • Only Apache Cordova lists targets iOS, Android and Electron; only WebdriverIO lists built-in test runner.
  • Where Apache Cordova falls short: apps render in a web view, so UI is not native by default.

How do Apache Cordova and WebdriverIO differ?

Apache Cordova and WebdriverIO differ on pricing model, platforms and category (Mobile Development against Testing). Only the attributes on which Apache Cordova and WebdriverIO actually diverge.

Attributes where Apache Cordova and WebdriverIO differ
AttributeApache CordovaWebdriverIO
Pricing modelOpen-sourceOpen source, no licence fee
PlatformsiOS, Android, Windows, macOS, LinuxLinux, macOS, Windows, iOS, Android
CategoryMobile DevelopmentTesting

Identical on both: starting price (Free), free tier (Yes).

Not yet recorded: founded for WebdriverIO.

Which features does each one have?

They share no listed features; 6 appear only for Apache Cordova and 6 only for WebdriverIO. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Apache Cordova

  • Single JavaScript API for device functions
  • Plugin system managed from the command line
  • Targets iOS, Android and Electron
  • HTML, CSS and JavaScript app code
  • Apache 2.0 open source licence
  • Platform feature support documentation

Only in WebdriverIO

  • WebDriver and BiDi protocol support
  • Built-in test runner
  • Appium integration
  • Service plugin ecosystem
  • Page object support
  • Component testing

What is each one used for?

Apache Cordova is most often brought in for wrapping an existing web app as a mobile app. The jobs each tool is most often brought in to do.

Apache Cordova

  • Wrapping an existing web app as a mobile appnot WebdriverIO
  • Single codebase for iOS and Androidnot WebdriverIO
  • Prototyping mobile apps with web skillsnot WebdriverIO
  • Accessing device features from JavaScript through pluginsnot WebdriverIO

WebdriverIO

  • A JavaScript or TypeScript team wanting a batteries-included test runner covering both web and mobile automationnot Apache Cordova
  • A team already using Sauce Labs or BrowserStack that wants first-class service plugin support for those platformsnot Apache Cordova
  • An organisation automating both browser and Appium-based mobile tests from one framework rather than two separate toolsnot Apache Cordova
  • A team wanting WebDriver BiDi protocol support for newer, more reliable browser automation than classic WebDriver alone providesnot Apache Cordova

Where do Apache Cordova and WebdriverIO fall short?

Apache Cordova's most cited limit: apps render in a web view, so UI is not native by default. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Apache Cordova

  • Apps render in a web view, so UI is not native by default
  • No built-in UI component library or hosted build service
  • Adobe's PhoneGap Build cloud service was discontinued in 2020
  • Many platforms listed in older versions, such as BlackBerry and Tizen, are no longer supported

WebdriverIO

  • Its lead maintainer's day job and the project's most visible sponsorship both sit with Sauce Labs, a closer single-vendor tie than some other OpenJS projects, worth weighing for teams that specifically want vendor-neutral tooling
  • Playwright has captured much of the newer end-to-end JavaScript testing mindshare, so WebdriverIO's plugin ecosystem and community size, while real, are smaller than Playwright's
  • The dual protocol support for both classic WebDriver and WebDriver BiDi adds real configuration complexity for teams that just want one straightforward automation path
  • Documentation and community answers assume a working knowledge of WebDriver concepts, so teams new to browser automation face a steeper ramp than a more opinionated, simpler framework
  • As with other OpenJS-governed projects, there is no vendor SLA or paid support tier for the framework itself, only for the commercial device clouds it integrates with

How much do Apache Cordova and WebdriverIO cost?

Apache Cordova is free to use; WebdriverIO is free to use. Plan by plan below, from each vendor's own pricing page.

Apache Cordova

Free

No published plan breakdown. See the Apache Cordova review.

WebdriverIO

Free
  • WebdriverIOFree
    • Full functionality, no usage limits
    • Community support via Discord and GitHub
    • Sauce Labs and BrowserStack sponsor the project but do not control its licensing

Which should you pick?

Choose Apache Cordova if

  • You need single javascript api for device functions.
  • You want to start without paying.
  • You work on iOS, Android, Windows, macOS, Linux.
  • You also want plugin system managed from the command line.

Choose WebdriverIO if

  • You need webdriver and bidi protocol support.
  • You want to start without paying.
  • You work on Linux, macOS, Windows, iOS, Android.
  • You also want built-in test runner.

Questions people ask

Is Apache Cordova or WebdriverIO better?
It depends on the job. Apache Cordova fits wrapping an existing web app as a mobile app; WebdriverIO fits a JavaScript or TypeScript team wanting a batteries-included test runner covering both web and mobile automation. Apache Cordova starts at Free and WebdriverIO at Free.
Which is cheaper, Apache Cordova or WebdriverIO?
Apache Cordova starts at Free and WebdriverIO at Free.
Does Apache Cordova or WebdriverIO run on more platforms?
Apache Cordova runs on iOS, Android, Windows, macOS, Linux. WebdriverIO runs on Linux, macOS, Windows, iOS, Android.
Can I use Apache Cordova for free?
Both have a free tier, so you can try either at no cost before committing.
What is Apache Cordova best used for?
Apache Cordova is most often used for wrapping an existing web app as a mobile app, single codebase for ios and android, prototyping mobile apps with web skills, accessing device features from javascript through plugins. Of those, wrapping an existing web app as a mobile app and single codebase for ios and android are not what WebdriverIO is typically brought in for.
What can Apache Cordova do that WebdriverIO cannot?
Apache Cordova covers Single JavaScript API for device functions, Plugin system managed from the command line, Targets iOS, Android and Electron, HTML, CSS and JavaScript app code. WebdriverIO covers WebDriver and BiDi protocol support, Built-in test runner, Appium integration, Service plugin ecosystem.

Answered from the vendors’ own pages

Apache Cordova: Is Apache Cordova free?

Yes. The project describes itself as free and open source under the Apache License 2.0, maintained by the Apache Software Foundation.

Source
WebdriverIO: Is WebdriverIO owned by Sauce Labs?

No, it is governed by the OpenJS Foundation, though its lead maintainer works at Sauce Labs and Sauce Labs is a premium project sponsor.

Apache Cordova: How is Cordova related to PhoneGap?

Nitobi Software developed PhoneGap in 2008 and Adobe acquired Nitobi in October 2011. The code was contributed to Apache and renamed Cordova.

Source
WebdriverIO: Is it free?

Yes, entirely open source with no licence fee.

Apache Cordova: Which platforms does Cordova support?

As of version 11, iOS, Android, Windows 8.1, Windows Phone 8.1, Windows 10 and Electron are listed on Wikipedia. The project site has a page of per-platform feature support.

Source
WebdriverIO: How does it compare to Playwright?

Both are capable, free JavaScript end-to-end testing frameworks; Playwright has a larger and faster-growing community currently, while WebdriverIO has a longer history and broader classic WebDriver protocol support.

Share

Related pages

Other head to heads