I am getting the device in landscape mode by default when we are activating the new installed app?

I am getting the device in landscape mode by default when we are activating the new installed app what should I do?

Hi Helen,

You can use the below appium command just after the activateApp command to get the device in portrait mode.

driver.rotate(ScreenOrientation.PORTRAIT);