appium / dotnet-client

Extension to the official Selenium dotnet webdriver
Apache License 2.0
373 stars 186 forks source link

[Bug]: Shake device option is not available #771

Closed ishuvir closed 3 weeks ago

ishuvir commented 3 months ago

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

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.

ishuvir commented 3 months ago

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

AshokKumarVis96 commented 2 months ago

@ishuvir Did you find any option for Android Device?

mykola-mokhnach commented 2 months ago

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

AshokKumarVis96 commented 2 months ago

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

mykola-mokhnach commented 2 months ago

In case with Android this should work for both

ishuvir commented 2 months ago

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

eglitise commented 2 months ago

@ishuvir yes, shake on iOS is only supported on simulators.

Dor-bl commented 2 months ago

@ishuvir, Can we close this issue?

Dor-bl commented 3 weeks ago

Closing as no response