ios - "shake is not supported on real devices"错误消息

标签 ios appium

我在 iOS v. 11.4.1 中使用关键字“Shake Device”,并使用 XCUITest 驱动程序和 appium 版本 1.13。我收到此错误消息

shake is not supported on real devices.

根据 appium.io 应该支持它 http://appium.io/docs/en/commands/device/interactions/shake/

我使用的代码是使用 C# 的 driver.ShakeDevice();

以前有人尝试过吗?

最佳答案

根据 http://appium.io/docs/en/commands/device/interactions/shake/

摇动遵循以下语法:

driver.shake();

关于ios - "shake is not supported on real devices"错误消息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56221134/

相关文章:

python - AttributeError : 'NoneType' object has no attribute 'to_capabilities' . 在 Appium 上运行 python 脚本时出现此错误

java - 如何使用 PageObject 模式改进我的测试?

ios - 是否需要 Apple 开发者 ID 来自动化 iOS 设备?

ios - PDF 文件无法在 UIDocumentInteractionController 中打开

javascript - 如何调试导致 iPad Safari 崩溃的站点?

iOS Objective-C 在自定义框架中显示 PNG 图像

ios - charles 4.5.4 显示 304 (Not Modified) 状态码

android - Appium - 如何验证对象是否存在

android - 我们如何将 Genymotion 与 Eclipse 和 Appium 一起使用

ios - swift中元素的宽度