Interface SupportsIncludeDeviceCapsToSessionInfoOption<T extends BaseOptions<T>>

All Superinterfaces:
CanSetCapability<T>, org.openqa.selenium.Capabilities, Serializable
All Known Implementing Classes:
XCUITestOptions

public interface SupportsIncludeDeviceCapsToSessionInfoOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
  • Field Details

    • INCLUDE_DEVICE_CAPS_TO_SESSION_INFO_OPTION

      static final String INCLUDE_DEVICE_CAPS_TO_SESSION_INFO_OPTION
      See Also:
  • Method Details

    • setIncludeDeviceCapsToSessionInfo

      default T setIncludeDeviceCapsToSessionInfo(boolean value)
      Whether to include screen information as the result of Get Session Capabilities. It includes pixelRatio, statBarHeight and viewportRect, but it causes an extra API call to WDA which may increase the response time. Defaults to true.
      Parameters:
      value - Whether to include screen information as the result of Get Session Capabilities.
      Returns:
      self instance for chaining.
    • doesIncludeDeviceCapsToSessionInfo

      default Optional<Boolean> doesIncludeDeviceCapsToSessionInfo()
      Get whether to include screen information as the result of Get Session Capabilities.
      Returns:
      True or false.