Advertisement

不建议使用Appium进行屏幕截取操作(Appium+Python版本)

阅读量:

1.Appium server 日志报错

在这里插入图片描述

错误提示:

复制代码
    Error: Cannot get screenshot data because of 
    'The size of the taken screenshot equals to zero.'. 
    Make sure the 'LayoutParams.FLAG_SECURE' is not set for the current view
    
    
    AI写代码python
    
    运行

2.Appium异常处理与调试

复制代码
    App Source Could not obtain source: [object Object]
    
    
    AI写代码python
    
    运行

3.uiautomatorviewer 报错

复制代码
    Error obtaining ui hierarchy Reason:error taking device screenshot:E

全部评论 (0)

还没有任何评论哟~