Skip to main content

Reusable Appium utility helpers

Project description

AppiumUtils

A small, opinionated helper utility built on top of Appium Python Client to simplify common Android UI interactions.
This library is designed to reduce boilerplate and make test scripts more readable and consistent.


Features

  • Launch and control Android apps
  • Perform common key actions (home, back, enter, backspace)
  • Simplified tap helpers (by text, id, content-desc, xpath)
  • Text input and clearing using the currently focused element
  • Swipe using screen percentage-based coordinates
  • Scroll until text becomes visible
  • Assertion helpers for text visibility

Usage

from appium.webdriver.webdriver import WebDriver
from appium_utils import AppiumUtils

driver: WebDriver = create_driver_somehow()
utils = AppiumUtils(driver)
utils.launch_app("com.example.app")
utils.hide_keyboard()
utils.tap_by_text("Continue")
utils.tap_by_id("com.example:id/login")
utils.tap_by_content_desc("Settings")
utils.tap_by_xpath("//android.widget.Button[@text='OK']")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

appium_utility-0.1.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file appium_utility-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: appium_utility-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for appium_utility-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1053e60ad4432c8aaeba786a861607e9bb4011ce70e14d308be65fd231156dcd
MD5 23930892ef29614f2891ac97dfe80e69
BLAKE2b-256 76efa74a2ffbf66417548d57374cc02d72308e737c4f4e381a0b5874e3f4f961

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page