Package org.openqa.selenium
Class DeviceRotation
java.lang.Object
org.openqa.selenium.DeviceRotation
Defines an object which represents the three dimensional plane and how a device can be rotated
about it. Each of the axes is in positive degrees on the real number scale (0 <= deg <=
360).
Example instantiation to rotate device to "Landscape Right": DeviceRotation(0, 0, 90);
-
Constructor Summary
ConstructorDescriptionDeviceRotation
(int x, int y, int z) Instantiate a DeviceRotation object based on three integers.DeviceRotation
(Map<String, Number> map) Instantiate a DeviceRotation object based on a HashMap object where the keys are the axes x, y, and z respectively: x : xVal y : yVal z : zVal -
Method Summary
-
Constructor Details
-
DeviceRotation
public DeviceRotation(int x, int y, int z) Instantiate a DeviceRotation object based on three integers. -
DeviceRotation
Instantiate a DeviceRotation object based on a HashMap object where the keys are the axes x, y, and z respectively: x : xVal y : yVal z : zVal
-
-
Method Details