How to get the current orientation of the device in Appium?
ScreenOrientation pOrientation = driver.getOrientation();
//Printing the orientation.
System.out.println(pOrientation);
Posted on May 6, 2019
By Shah Nawaz
ScreenOrientation pOrientation = driver.getOrientation();
//Printing the orientation.
System.out.println(pOrientation);