Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

想知道appium_setting获取出来的配置代表啥意思 #123

Open
luoxiao1008 opened this issue Sep 11, 2022 · 3 comments
Open

想知道appium_setting获取出来的配置代表啥意思 #123

luoxiao1008 opened this issue Sep 11, 2022 · 3 comments

Comments

@luoxiao1008
Copy link

{
"boundElementsByIndex": false,
"mjpegServerFramerate": 10,
"screenshotOrientation": "auto",
"reduceMotion": false,
"elementResponseAttributes": "type,label",
"screenshotQuality": 1,
"mjpegScalingFactor": 100,
"keyboardPrediction": 0,
"defaultActiveApplication": "auto",
"mjpegServerScreenshotQuality": 25,
"defaultAlertAction": "",
"keyboardAutocorrection": 0,
"useFirstMatch": false,
"shouldUseCompactResponses": true,
"customSnapshotTimeout": 15,
"dismissAlertButtonSelector": "",
"activeAppDetectionPoint": "64.00,64.00",
"snapshotMaxDepth": 50,
"waitForIdleTimeout": 10,
"includeNonModalElements": false,
"acceptAlertButtonSelector": "",
"animationCoolOffTimeout": 2
}

@luoxiao1008
Copy link
Author

另外,使用中发现页面的元素稍微多一点,调用元素的get()方法就很慢,10多秒才找到元素,然后再tap()的时候又会消耗5-6s,如果把snapshotMaxDepth改小一点又找不到元素,请问有啥配置可以让元素查找更快一点的,或者说有其他的方法可以优化?

@huan1936
Copy link

这个可能是你需要的 https://www.kancloud.cn/testerhome/appium_docs_cn/2001917

@luoxiao1008
Copy link
Author

这个可能是你需要的 https://www.kancloud.cn/testerhome/appium_docs_cn/2001917

谢谢大佬

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants