Comments (1)
红蓝点卡住原因是 wda 对于滑动事件的响应慢,且容易超时变为500返回。响应慢的原因是经常 dump 控件树,dump 操作是非常耗时的(复杂页面10s以上很正常)
解决点:
1、远程控制页面连上设备后,把默认的控件树 dump 深度,改为0,可以显著提升滑动流畅度。缺点是如果有连上这个 wda 做 UI 自动化的需要,UI自动化侧需要重新把深度调回默认值,否则会因为控件树是空的导致全部控件查找失败。
参考操作:
把连接后默认设置的帧率改为30fps
通过 get 请求访问 <设备 wda 地址>/session/<sessionID>/appium/settings
即可看到完整的配置项,其中和控件深度有关的配置项带有 snapshot 关键字。
2、把wda响应超时时间延长(解决只有刷新后才有反应问题)。这个改动目前 ios provider 项目已有,更新代码后重启即可。
from atxserver2.
Related Issues (20)
- 在使用的过程中会出现非套接字错误,怎么处理
- unpkg国内访问不稳定,建议改成unpkg.zhimg.com HOT 1
- ATX 不支持 iOS10和iOS 15 HOT 2
- 请教一下Atxserver2 可以在哪里设置清晰度 HOT 1
- 请教一下进QQ群密码答案是什么 HOT 2
- 想一起学习,可是qq群加不进去 HOT 2
- 是否能考虑使用ws-scrcpy这个项目替换掉minicap等组件? HOT 1
- iOS 设备横屏坐标点映射错误
- atxserver2,接入google pixel3,用android11可以,升级后android12后无法看到操作界面。 HOT 2
- 跨网段操作手机失败
- 不同主机布署atxserver2和 atxserver2-android-provider,跨域请求失败怎么解决吖 HOT 1
- ws://协议的minicap 和minitouch 端口 也需要映射 穿透 HOT 1
- 使用app_start 无法启动 拼多多(6.10.0 )
- BUG问题,安卓设备安装uiautomator相关apk出错,是代码问题 HOT 1
- MacUnknown custom element:
- 代码问题,为什么html中的vue变量写法是{{!}},要加一个感叹号 HOT 2
- note8的touch无法使用,也无法修复 HOT 1
- M1芯片的不支持docker部署吗?
- [andriod]【MAC】屏幕连接中断
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atxserver2.