Interface SupportsOrientationOption<T extends BaseOptions<T>>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ORIENTATION_OPTION  
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<org.openqa.selenium.ScreenOrientation> getOrientation()
      Get the orientation of the screen.
      default T setOrientation​(org.openqa.selenium.ScreenOrientation orientation)
      Set the orientation of the screen.
      • Methods inherited from interface org.openqa.selenium.Capabilities

        asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatform, getPlatformName, getVersion, is, merge
    • Field Detail

    • Method Detail

      • setOrientation

        default T setOrientation​(org.openqa.selenium.ScreenOrientation orientation)
        Set the orientation of the screen.
        Parameters:
        orientation - is the screen orientation.
        Returns:
        self instance for chaining.
      • getOrientation

        default java.util.Optional<org.openqa.selenium.ScreenOrientation> getOrientation()
        Get the orientation of the screen.
        Returns:
        ScreenOrientation of the app.