当前位置:网站首页>【Appium踩坑】Failed to capture a screenshot. Does the current view have ‘secure‘ flag set?
【Appium踩坑】Failed to capture a screenshot. Does the current view have ‘secure‘ flag set?
2022-04-22 19:03:00 【青禾tester】
报错:
Failed to capture a screenshot.
Does the current view have 'secure' flag set?
问题情况+解决:
1、系统安全键盘(小米设备有,其他设备未知)
如打开输入框,就自动打开安全键盘;
开启安全键盘后,就会报错。
解决:
系统设置里关闭安全键盘。
小米设备-关闭安全键盘:
设置-安全-安全键盘
2、APP设置不允许 screencap
尝试:adb shell screencap -p
没报错说明没有限制;有报错尝试绕过secure
版权声明
本文为[青禾tester]所创,转载请带上原文链接,感谢
https://blog.csdn.net/YUICUI/article/details/124318030
边栏推荐
- Introduction to Alibaba micro service component Sentinel
- 2020-09-08 remove comments from JS code
- Leetcode prefix and - question set
- Pychar configures CONDA and uses the correct image source address in China
- 2020-11-04 go test compiled into executable file
- Career planning of data analysts -- career anxiety and future development of data analysts
- Nat. Commun. | Neural coding framework for learning generation model
- Im instant messaging development how to design a database that can support millions of concurrent users
- Nat. Commun. |用于学习生成模型的神经编码框架
- Introduction notes to PHP zero Foundation (12): array
猜你喜欢

mysql查询带序列号

How to design API interface to realize uniform format return

jsp学习(八.JDBC与文件上传处理的项目)

jsp学习(九.Filter过滤器、通配符和Cookie处理)

transfer方法详解

Nat. Commun. |用于学习生成模型的神经编码框架

RHCE-ansible

Some indicators in text classification

MCU infrared module knowledge sharing theory is the basis of practical combat in the future

Redis缓存之String的滥用
随机推荐
单片机红外模块知识分享,理论是日后实战的基础
Error c4996 'fopen': this function or variable may be unsafe Consider using fopen_ s instead. To disabl
Introduction to feign, a microservice invocation component
@RequestBody修饰的对象属性大小写映射问题
TabLayout + ViewPager2 + Fragment的简单应用
原来,这才是开发者打开世界读书日的正确姿势
[spark] (task6) spark RDD completes the statistical logic
Better than SQL, another domestic database language was born
MacOS M1 使用 Homebrew 安装 Mysql
RHCE-ansible
P1794 求解好多鱼问题
leetcode 前缀和-题集
Career planning of data analysts -- career anxiety and future development of data analysts
指纹识别记录
[best practice] patrol item: turn on URL authentication in content distribution network (CDN)
Take you to understand the principle of highly flexible spark architecture
C#——连接数据库语句
2020-11-04 go test compiled into executable file
Picture to Base64
What does %[^\n] mean in C?