Interface SupportsEspressoServerLaunchTimeoutOption<T extends BaseOptions<T>>

  • All Superinterfaces:
    CanSetCapability<T>, org.openqa.selenium.Capabilities, java.io.Serializable
    All Known Implementing Classes:
    EspressoOptions

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

      • ESPRESSO_SERVER_LAUNCH_TIMEOUT_OPTION

        static final java.lang.String ESPRESSO_SERVER_LAUNCH_TIMEOUT_OPTION
        See Also:
        Constant Field Values
    • Method Detail

      • setUiautomator2ServerInstallTimeout

        default T setUiautomator2ServerInstallTimeout​(java.time.Duration timeout)
        Set the maximum timeout to wait util Espresso is listening on the device. 45000 ms by default
        Parameters:
        timeout - Timeout value.
        Returns:
        self instance for chaining.
      • getUiautomator2ServerInstallTimeout

        default java.util.Optional<java.time.Duration> getUiautomator2ServerInstallTimeout()
        Get the maximum timeout to wait until Espresso server is listening on the device.
        Returns:
        The timeout value.