INNER CODE UNIT · Python
install_app
ctripcorp/flybirds · flybirds/core/driver/app.py:39
def install_app(package_path, wait_time=None):
"""
Install application on device
:param package_path: the path to file to be installed on target device
:param wait_time:
:return: None
:platforms: Android
:Example:
>>> install_app(r"D:\\demo\\test.apk")
"""
return g_context.app.install_app(package_path, wait_time)
def uninstall_app(package_name, wait_time=None):
"""
Uninstall application on device