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
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)
Built Distribution
Close
Hashes for pyadbautomator-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50e6235b120c00c7e4019cb72672e24fa85aab8a859e75e728ca8a7672cc3f01 |
|
MD5 | 0525a96aa0a3482ed9c64146ed367d1a |
|
BLAKE2b-256 | 4ca32aedae7d2deae7c3eedb8bfdd66ee137a863bcdf4f726ba4578bc921edc7 |