Interface SupportsUiautomator2ServerInstallTimeoutOption<T extends BaseOptions<T>>

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

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

    • UIAUTOMATOR2_SERVER_INSTALL_TIMEOUT_OPTION

      static final String UIAUTOMATOR2_SERVER_INSTALL_TIMEOUT_OPTION
      See Also:
  • Method Details

    • setUiautomator2ServerInstallTimeout

      default T setUiautomator2ServerInstallTimeout(Duration timeout)
      Set the maximum timeout to wait util UiAutomator2Server is installed on the device. 20000 ms by default
      Parameters:
      timeout - Timeout value.
      Returns:
      self instance for chaining.
    • getUiautomator2ServerInstallTimeout

      default Optional<Duration> getUiautomator2ServerInstallTimeout()
      Get the maximum timeout to wait until UiAutomator2Server is installed on the device.
      Returns:
      The timeout value.