Skip to main content

Reusable Appium utility helpers

Project description

AppiumUtility

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.

Usage

from appium.webdriver.webdriver import WebDriver
from appium_utility import AppiumUtility

driver: WebDriver = create_driver_somehow()
utils = AppiumUtility(driver)
utils.launch_app("com.example.app")
utils.hide_keyboard()
utils.click_by_text("*.Continue.*", regex=True)
utils.click_by_id("com.example:id/login")
utils.click_by_content_desc("Settings")
utils.click_by_xpath("//android.widget.Button[@text='OK']")
utils.swipe_up()
utils.swipe_down()
utils.swipe_until_text_visible("*.Continue.*", direction="SWIPE_UP", regex=True)

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.3.25-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for appium_utility-0.3.25-py3-none-any.whl
Algorithm Hash digest
SHA256 31e11da77e51939273f52624ffa8161c3b5e37c36711331f2c5b2be108ce38fe
MD5 b139aae902e4fd8e4eead03a7976bfbd
BLAKE2b-256 e1fdfa6c46bb41837d255791e6e7a53998ab6aa5c7f0907b8746d4c260b5ff00

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