I am setting desired capability “device-orientation” to “landscape" on iOS simulator - but tests run on portrait mode. I see the following in the Appium log:
info: --> POST /wd/hub/session {“desiredCapabilities”:{“platformVersion”:“8.1”,“platformName”:“iOS”,“deviceName”:“iPhone Simulator”,“browserName”:“Safari”,“device-orientation”:“landscape”}}
info: Client User-Agent string: Apache-HttpClient/4.3.5 (java 1.5)
info: [debug] The following desired capabilities were provided, but not recognized by appium. They will be passed on to any other services running on this server. : device-orientation
iOS Simulator on local machine - here are the desired capabilities
deviceName: iPhone Simulator
deviceVersion: 8.1
platform: iOS
browserName: Safari
device-orientation: landscape
Appium verison is 1.3.4
#########
On Android also i observe same behavior.
info: --> POST /wd/hub/session {“desiredCapabilities”:{“platformVersion”:“4.4”,“platformName”:“Android”,“deviceName”:“Android Emulator”,“browserName”:“Browser”,“device-orientation”:“landscape”}}
info: Client User-Agent string: Apache-HttpClient/4.3.5 (java 1.5)
info: [debug] The following desired capabilities were provided, but not recognized by appium. They will be passed on to any other services running on this server. : device-orientation
info: Set mode: Proxying straight through to Chromedriver
how can get device orientation to work on “browsers” Android emulator/iOS simulator , any help here would be great.
Thanks
Silpa