快速开始
跨平台的API
平台相关的API
模块内容
Wiki
AdbCap
基类:airtest.core.android.cap_methods.base_cap.BaseCap
airtest.core.android.cap_methods.base_cap.BaseCap
get_frame_from_stream
Get a frame of the current screen from the mobile screen stream
从手机画面流中,获取一张当前屏幕截图
Returns: frame_data
snapshot
Take a screenshot and convert it into a cv2 image object
获取一张屏幕截图,并转化成cv2的图像对象
Returns: numpy.ndarray