Interface SupportsRotation

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.openqa.selenium.WebDriver

        org.openqa.selenium.WebDriver.Navigation, org.openqa.selenium.WebDriver.Options, org.openqa.selenium.WebDriver.TargetLocator, org.openqa.selenium.WebDriver.Timeouts, org.openqa.selenium.WebDriver.Window
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default org.openqa.selenium.ScreenOrientation getOrientation()
      Get device orientation.
      default void rotate​(org.openqa.selenium.DeviceRotation rotation)  
      default void rotate​(org.openqa.selenium.ScreenOrientation orientation)  
      default org.openqa.selenium.DeviceRotation rotation()
      Get device rotation.
      • Methods inherited from interface org.openqa.selenium.WebDriver

        close, findElement, findElements, get, getCurrentUrl, getPageSource, getTitle, getWindowHandle, getWindowHandles, manage, navigate, quit, switchTo
    • Method Detail

      • rotation

        default org.openqa.selenium.DeviceRotation rotation()
        Get device rotation.
        Returns:
        The rotation value.
      • rotate

        default void rotate​(org.openqa.selenium.DeviceRotation rotation)
      • rotate

        default void rotate​(org.openqa.selenium.ScreenOrientation orientation)
      • getOrientation

        default org.openqa.selenium.ScreenOrientation getOrientation()
        Get device orientation.
        Returns:
        The orientation value.