Orientation – pCloudy – Question and Answers
Home >> Appium Tricks and Tricks >> Orientation ...

Orientation



Code: caps.setCapability("androidNaturalOrientation", true);
"Some devices are meant to be used primarily in a widescreen orientation. 
For this set of devices, it might make more sense to think of the default
wide mode as PORTRAIT orientation, the default for the system. Set to true to basically flip the meaning of PORTRAIT and LANDSCAPE" Value: true/false

Leave a Reply

Your email address will not be published. Required fields are marked *