appium / dotnet-client

Extension to the official Selenium dotnet webdriver

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: Shake device option is not available

ishuvir opened this issue · comments

Description

I am using appium2 with v5.0.0-rc.6 version of appium.webdriver nuget package
I was trying to find the option of shaking device but i couldn't find .

I have declared all capabilities and also used url but when i am trying to option for driver.shake or any other option . I could find any

Environment

  • .NET client build version or git revision if you use some snapshot: [v5.0.0-rc.6]
  • Appium server version or git revision if you use some snapshot: Appium v2.5.1
  • Real device or emulator/simulator: iOS with version 17.0

Details

Please provide more details, if necessary. I have scenario to perform shaking of device , i was trying to find the way but i could find the option. so please let me know if its there or removed.

I found the option , as its not in AppiumDriver but available wit iOSDriver

@ishuvir Did you find any option for Android Device?

Send keycode 82 to an Android device in order to emulate shake: https://gist.github.com/skellock/b8513985e56b03a59963188803b4184e

@mykola-mokhnach Is there any option for physical device?

In case with Android this should work for both

I have tried in real iOS device and its says not supported on real. Is shake device only supported in simulator?

@ishuvir, Can we close this issue?

Closing as no response