INNER CODE UNIT · Python
press_home
ctripcorp/flybirds · flybirds/core/driver/app.py:32
def press_home():
"""
press home button
"""
g_context.app.return_home()
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")
"""