Xcode:UI 自动化:waitForValid()
有一个 waitForInvalid() 但 waitForValid() 函数呢?由于某种原因,push/popTimeout 在很多情况下对我不起作用。苹果?
There's a waitForInvalid() but what about a waitForValid() function? For some reason, push/popTimeout doesn't work for me in many cases. Apple?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果元素是“有效”但不是“可见”,则可能返回得太早。这应该等到其可见且有效。
或者
If the element is "valid" but not "visible" that might return too early. This should wait until its visible and valid.
or
当您尝试直接访问特定元素时,默认等待时间为 5 秒。您可以按如下方式更改默认时间。
这将使您的仪器等待长达 20 秒,直到导航栏的名称更改为“欢迎”。
When you try to access a particular element directly, there is a default wait time of 5 seconds. You can change the default time as follows.
This will make your instruments wait up to 20 seconds until the name of the navigation bar has changed to "Welcome."