Skip to content

Appium Plugin

appium-manina-plugin adds a -manina locator strategy to any Appium 3 server. The plugin takes a screenshot through your driver, asks Manina-4B-Lite where the element is, and returns an element you can click.

driver.find_element("-manina", "blue Login button").click()

It works with any driver that can take a screenshot and perform W3C actions (XCUITest, UiAutomator2, Espresso), with the same description on iOS and Android, and on screens with no usable element tree.

  1. Install the plugin:

    Terminal window
    appium plugin install --source=npm appium-manina-plugin
  2. Sign in (new accounts get $1 of free credit). This opens manina.ai in your browser; in CI set MANINA_API_KEY to an API key from API keys instead:

    Terminal window
    npx appium-manina login
  3. Start Appium with the plugin:

    Terminal window
    appium --use-plugins=manina
  4. Use the strategy:

    el = driver.find_element("-manina", "Search field at the top")
    el.send_keys("coffee")
    driver.execute_script("manina: tap", {"description": "Allow button in the permission dialog"})
    hit = driver.execute_script("manina: locate", {"description": "cart icon"})

Clients that only send built-in strategies (Java, Robot Framework AppiumLibrary) can use the manina: tap and manina: locate execute methods. If the element is not on screen, find_element raises NoSuchElementError, so your waits work as usual. Each locate is one locate call ($0.30 per 1,000).

Measured 2026-12-06 from Asia to the Singapore API, p50 of 8 to 11 runs:

Device Driver screenshot Locate round trip Whole find_element
Redmi Note 11 (Android 13), MJPEG on 10 ms 540 ms 554 ms
iPhone 15 (iOS) 195 ms 536 ms 741 ms

The model takes about 0.1 s; the rest is the screenshot and the network. On Android, turn on MJPEG screenshots (appium:mjpegServerPort and appium:mjpegScreenshotUrl) to save about 0.6 s per call; see the README.

Using uiautomator2 in Python without Appium? See the uiautomator2 plugin.