Class DeviceOrientation


  • @Beta
    public class DeviceOrientation
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.openqa.selenium.devtools.Command<java.lang.Void> clearDeviceOrientationOverride()
      Clears the overridden Device Orientation.
      static org.openqa.selenium.devtools.Command<java.lang.Void> setDeviceOrientationOverride​(java.lang.Number alpha, java.lang.Number beta, java.lang.Number gamma)
      Overrides the Device Orientation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DeviceOrientation

        public DeviceOrientation()
    • Method Detail

      • clearDeviceOrientationOverride

        public static org.openqa.selenium.devtools.Command<java.lang.Void> clearDeviceOrientationOverride()
        Clears the overridden Device Orientation.
      • setDeviceOrientationOverride

        public static org.openqa.selenium.devtools.Command<java.lang.Void> setDeviceOrientationOverride​(java.lang.Number alpha,
                                                                                                        java.lang.Number beta,
                                                                                                        java.lang.Number gamma)
        Overrides the Device Orientation.