Appium vs Selenium: Which Should You Choose in 2026?
Selenium automates web browsers and Appium automates mobile apps, from the same WebDriver roots. Where each one fits, and the locator upkeep neither removes.
An Appium test in Python starts by creating a driver object, and that object is a Selenium WebDriver. We ran the check against Appium’s Python client 6.5.2, and Python confirmed the driver class is a subclass of Selenium’s. So the two aren’t rivals. Selenium drives web browsers, Appium drives apps, and both speak the W3C WebDriver protocol to get there.
What you ship makes the choice. Both projects released new versions in November, so you can pick on current facts and know, before the first test, which upkeep comes with the pick.
What you’ll learn
- Which framework fits what you ship, including the website-and-app case
- A short check that shows Appium’s Python client is built on Selenium’s
- What changed in Appium 4 and Selenium 4.54
- The locator upkeep both frameworks leave with you
The Quick Answer: Pick by What You Ship
Use Selenium when the product is a website and Appium when it is an iOS or Android app. For most projects, the row that matches what you ship settles it.
| What you ship | Pick | Why |
|---|---|---|
| A website or web app | Selenium | One hop from your test to the browser’s own driver |
| A native iOS or Android app | Appium | Selenium has no way into a compiled app’s interface |
| A hybrid app with web views | Appium | Switches between the native and web-view contexts in one session |
| A responsive site used on phones | Selenium, plus Appium for real mobile browsers | Selenium can test layouts at phone widths; Appium drives Safari and Chrome in a real mobile browser |
| A website and a native app | Both, as two suites | One protocol, two toolchains and two sets of drivers to keep current |
| A Windows or macOS desktop app | Appium | Its WinCore and Mac2 drivers target desktop apps |
The overlap is wider than the usual web-versus-mobile split suggests. Appium’s official driver list includes Chromium, Gecko and Safari drivers for desktop browsers, so the old line that Appium can’t test websites no longer holds. For a website it remains the longer route, with an Appium server between your test and a browser Selenium reaches directly.
The reverse doesn’t work. Selenium is no Appium alternative for a native app, because a button in a compiled iOS app is not a DOM element and Selenium has no command to tap it. On Android, Appium’s UiAutomator2 and Espresso drivers sit on top of Google’s own frameworks rather than replacing them, a layering Espresso vs Appium takes apart.
Is Appium the Same as Selenium?
No, but the two are closer than “built on the same protocol” suggests. Selenium’s wire protocol grew into an official web standard, and today Selenium WebDriver is a W3C Recommendation. Appium implements that protocol and extends it with commands a browser never needed, such as installing an app or switching Android activities.
The client side is where the relationship is easiest to see. We installed Appium’s Python client and asked Python what it is built on:
# Appium-Python-Client 6.5.2, selenium 4.54.0, Python 3.14.0
import importlib.metadata as md
from appium import webdriver as appium_webdriver
from appium.webdriver.common.appiumby import AppiumBy
from selenium.webdriver.common.by import By
from selenium.webdriver.remote.webdriver import WebDriver as SeleniumWebDriver
print(md.version("Appium-Python-Client"), md.version("selenium"))
print(md.requires("Appium-Python-Client")[0])
print(issubclass(appium_webdriver.Remote, SeleniumWebDriver))
print(issubclass(AppiumBy, By))
6.5.2 4.54.0
selenium<5.0,>=4.51.0
True
True
Installing Appium’s client pulls in Selenium as a dependency, pinned to 4.51 or newer and below 5.0. The driver you create in an Appium test inherits every Selenium method, and AppiumBy, the class you hand to find_element, extends Selenium’s By with mobile strategies such as ACCESSIBILITY_ID and ANDROID_UIAUTOMATOR. A Selenium engineer can read an Appium test on sight because most of it is Selenium code.
Where the Two Projects Split
- Origins. Selenium started in 2004 at ThoughtWorks in Chicago. Appium has existed in some form since 2012, the year Dan Cuellar showed iOS tests written in Selenium syntax at Selenium Conference in London.
- Home. Appium is one of the Impact projects at the OpenJS Foundation, listed beside Node.js and Electron.
- Server. A local Selenium run needs no server of its own, since the client talks to the browser’s driver. Appium is a Node.js server you install and run, with each platform’s driver installed separately since Appium 2.
Think of it almost like one language with two runtimes. The code reads the same, and what it can touch depends on where it runs.
How Each One Reaches the Screen
Selenium’s path is short. Your test sends a WebDriver command to a driver binary the browser vendor maintains, such as chromedriver or geckodriver, and that driver controls the browser. Since version 4.6, Selenium Manager ships with every release and downloads a matching driver when you haven’t supplied one. A team that stops pinning its own driver loses the classic failure where Chrome updated itself overnight and the old driver stopped matching.
Appium adds a layer because phones don’t expose a browser-style driver. Your test talks to the Appium server, the server hands each command to a platform driver, and the driver calls Apple’s XCUITest or Google’s UiAutomator2 or Espresso on a simulator, emulator or device. The XCUITest driver needs Xcode, and its docs give Windows and Linux hosts only limited support, so the iOS half of an Appium suite runs on a Mac.
| Layer | Selenium | Appium |
|---|---|---|
| Client library | Selenium bindings for Java, Python, C#, Ruby and JavaScript | Appium clients for Java, Python, Ruby and C#, which sit on Selenium’s |
| Server | None for a local run; Selenium Grid to spread runs across machines | The Appium server, on Node.js 22.22 or newer for Appium 4 |
| Driver | The browser vendor’s driver | A platform driver per OS: XCUITest, UiAutomator2 or Espresso |
| Target | A desktop browser | An app on a simulator, emulator or device |
| Toolchain on your machine | A browser | Xcode on macOS for iOS, the Android SDK for Android |
Every layer costs time on every command. Selenium is faster at its own job because one hop separates the test from the browser. An Appium command crosses the server and the platform driver before it reaches the app, and a simulator or emulator adds its own latency. Neither one is badly built. The extra layers are what let a single API drive two operating systems.
Selenium also has the bigger community, with two decades of answered questions and Selenium Grid for parallel runs. Appium’s community is smaller and organized around drivers and plugins you install one at a time. If you need native mobile coverage at all, Selenium’s head start doesn’t help, because it can’t do the job.
Is Either One Outdated?
Neither one. Both shipped new versions in November 2026, and Appium 4 brings the server closer to what the W3C WebDriver protocol requires.
Appium 4 Shipped on November 15, 2026
Appium 4.0.0 came out on November 15, and 4.0.2 followed on November 27. Appium 3 had removed 98 deprecated server endpoints. Appium 4 removes 12 more and goes further, according to the official migration guide:
- Node.js 22.22 or newer. Node 20 is no longer supported.
- ESM-only packages. Every package in the Appium monorepo drops its CommonJS build, so
require()no longer loads them. - JSON Wire Protocol code removed. Most of what remained for the old JSONWP and MJSONWP protocols is gone, and drivers built on it stop working.
- WinCore replaces the Windows driver. The new command is
appium driver install wincore. - Selenium Grid 3 support removed. Grid 4 remains supported.
A guide that says Appium uses the mobile JSON Wire Protocol is describing Appium 1, because Appium 2 already dropped general support for it.
Selenium 4.54.0 Shipped on November 23, 2026
Selenium 4.54.0 came out on November 23. Its release history shows 4.40.0 in January, so the project has shipped a minor version about every three weeks this year.
The bigger change is in the protocol. WebDriver BiDi, the bidirectional W3C protocol the Selenium project built with the browser vendors, lets a test listen to network requests, console messages and JavaScript errors as they happen. Before it, that job meant the Chrome DevTools Protocol, and BiDi is its cross-browser replacement.
What Is Replacing Selenium?
No single tool. Playwright and Cypress compete with it for new web projects, and Cypress vs Selenium comes down to whether your tests run inside the browser or drive it from outside. Our guide to Selenium alternatives ranks eight options by who writes the tests and who fixes them.
The Upkeep Neither One Removes
Locator-based test automation carries one cost that outlasts setup, and switching frameworks doesn’t remove it. Go back to AppiumBy from the check above. It extends Selenium’s By, and every strategy in it, from an XPath to an accessibility ID, is a pointer into a UI tree your developers change every sprint. Moving from one framework to the other changes which tree you point into, and you keep pointing.
When a locator-based test goes red, split the failure before you touch the test, because each kind has its own fix:
- Locator: The locator stopped matching. That is a structural break, and no wait fixes it.
- Timing: The element arrived late, one of the five root causes of flaky tests. None of the five goes away when you change frameworks.
- Device: The test passed on one phone and failed on another. Mobile app automated testing adds a third failure: the same Appium test has to survive a new screen size, OS version or system dialog, the realities behind why mobile E2E tests flake.
A Selenium suite pays the locator bill once. An Appium suite often pays it twice, because iOS and Android expose different element trees for the same screen. The textbook fix is stable identifiers. If developers kept them fixed, the Appium scripts would keep working, and in my experience that has never played out, because nobody wants to write and maintain tests on top of shipping.
When You Ship a Website and an App, Pie Tests Both
The “both” row in the first table is where the two-framework setup costs the most. One sign-up flow becomes a Selenium test and an Appium test, with two toolchains to keep current, a Mac for the iOS half and two sets of locators that break on different days.
Pie is an agentic testing platform built for that spread. It tests web apps in a browser and native iOS and Android apps from one place.
- Plain-language tests: Our agents click through your app the way a new user would, and the flows they get through become tests. You add or change one by describing it.
- Self-healing, with no locators: Your team writes no locators for supported tests and fixes none. On mobile, Pie’s self-healing tests go by what’s on the screen and nothing else. On web they start from the screen too, and fall back on the page’s own locators where those hold up better.
- Simulators and emulators: An iOS build is tested on an iPhone or iPad simulator and an Android build on a phone or tablet emulator, at the OS version you choose, so the device setup an Appium suite needs isn’t yours to run. If a test needs physical hardware, real devices are available on demand.
- Reviewed step changes: Our QA team watches your coverage and signs off on each change to a test’s steps.
Keep Selenium or Appium alongside Pie wherever a test needs code-level control, such as a BiDi listener on network traffic or a device setting changed mid-run. The suite that only answers whether users can still sign up, search and pay is the one worth taking off locators.
Match the Tool to What You Ship
A website gets Selenium 4, and Selenium Manager fetches the driver. An iOS or Android app gets Appium 4, once the machine runs Node.js 22.22 or newer. A product that is both gets two suites and the locator upkeep twice, unless the shared user flows move to one place and the frameworks keep the code-level checks.
Decide the platform first, then decide who maintains the locators before you write the first test. The second decision is the one you pay for every sprint.
Web and App Tests in One Place
Describe each flow in plain language. Pie's self-healing tests have no locators to break.