Skip to main content

PyAdbAutomator is a Python library for automating some android tasks using ADB interface

Project description

PyAdbAutomator

PyAdbAutomator is a Python library for automating some android tasks using ADB interface

Installation

Use the package manager pip to install foobar.

pip install pyadbautomator

Usage

from pyadbautomator_package.pyadbautomator import PyAdbAutomator
py_adb_automator = PyAdbAutomator('com.android.chrome', 5)
py_adb_automator.open()
url_bar = py_adb_automator.first('resource-id', 'com.android.chrome:id/url_bar')
if url_bar:
    url_bar.text('https://github.com/guifabrin')
py_adb_automator.enter()
time.sleep(10)
py_adb_automator.close()

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Project details


Download files

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

Source Distribution

pyadbautomator-0.0.8.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

pyadbautomator-0.0.8-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

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