Package org.openqa.selenium
Interface Rotatable
-
@Deprecated public interface Rotatable
Deprecated.As this is only available only for mobile which is handled by the Appium project Represents rotation of the browser view for orientation-sensitive devices. When using this with a real device, the device should not be moved so that the built-in sensors do not interfere.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description ScreenOrientation
getOrientation()
Deprecated.void
rotate(DeviceRotation rotation)
Deprecated.Changes the rotation of the browser window.void
rotate(ScreenOrientation orientation)
Deprecated.Changes the orientation of the browser window.DeviceRotation
rotation()
Deprecated.
-
-
-
Method Detail
-
rotate
void rotate(ScreenOrientation orientation)
Deprecated.Changes the orientation of the browser window.- Parameters:
orientation
- the desired screen orientation
-
getOrientation
ScreenOrientation getOrientation()
Deprecated.- Returns:
- the current screen orientation of the browser
-
rotate
void rotate(DeviceRotation rotation)
Deprecated.Changes the rotation of the browser window.
-
rotation
DeviceRotation rotation()
Deprecated.- Returns:
- DeviceOrientation describing the current screen rotation of the browser window
-
-