-
Notifications
You must be signed in to change notification settings - Fork 418
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
AlertView 无效 #24
Comments
@TediWang iOS 下可以直接用 acceptAlert 或者 dismissAlert 来选择接受或者忽视 Alert,不用去查找元素,如果嫌麻烦,并且 Alert 不是功能性的(比如你是通过 Alert 来选择),可以在配置中就设置 autoAcceptAlerts: true。 |
@TediWang 如果设置了 autoAcceptAlerts 还是没有用,你可以把 macaca server 的日志发出来看一下,grep '/wd/hub/session/temp/accept_alert' xxx.txt -C10,xxx.txt 是日志文件。 |
@zenzhu : 日志如下 |
大概的可能和连续2次弹窗有关: |
更新后已解决,赞! |
IOS的AlertView弹出后,希望通过脚本去点击。
使用elementByXPath和Name都无法生效。
The text was updated successfully, but these errors were encountered: