We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
并且只要出现一次这个错误,接下来短时间内大概率还会出现多次。
然后过一会儿,又自己恢复了
The text was updated successfully, but these errors were encountered:
🤔这个坐标是如何得到的?这看上去是 wda 内部抛出的
Sorry, something went wrong.
sorry确实是我的问题,我忘记描述背景了。 这个坐标是我手动输入的,移动设备尺寸750*1334,所以坐标(684,80)也在移动设备的尺寸内。 是的,是wda内部抛出的,我也才刚刚意识到这个问题。 代码用的就是最常见的gwda提供的driver.NewW3CActions() (至于为什么没用gwda提供的driver.tap(),貌似是因为driver.tap()的超时问题会更严重,context deadline exceeded (Client.Timeout or context cancellation while reading body)) 回到正题,代码如下———————————————————————————————————— # 延时5秒保证动画能完全加载 waitCd(time.Second*5, input.Logger) # 需要点击的坐标位置(684/2,80/2) actions = gwda.NewW3CActions().Tap(684/2, 80/2) # 设置深度提速 driver.SetAppiumSettings(map[string]interface{}{"setSnapshotMaxDepth": 0}) # 执行具体操作 err = driver.PerformW3CActions(actions) driver.SetAppiumSettings(map[string]interface{}{"setSnapshotMaxDepth": 50}) if err != nil { input.Logger.Error("tap safari failed", "message", err, "exec id", input.Id) } 这个时候就会偶尔报——time=2024-01-28T06:59:12.752+08:00 level=ERROR msg="tap safari failed" message="unknown error: Invalid parameter not satisfying: point.x != INFINITY && point.y != INFINITY" "exec id"=52f9bc45-22f1-4b80-81bf-14e5528a8e1d 希望我说清楚了 最后附一下相关资料: https://github.com/appium/appium/discussions/18967 https://github.com/facebookarchive/WebDriverAgent/issues/905 https://developer.aliyun.com/article/670962
WDA 和 Xcode 的版本分别是?
WDA
Xcode
https://www.tracenote.com/2018/07/25/appiumUpgradeIssues/
No branches or pull requests
并且只要出现一次这个错误,接下来短时间内大概率还会出现多次。
然后过一会儿,又自己恢复了
The text was updated successfully, but these errors were encountered: