Interface SupportsAutoWebviewTimeoutOption<T extends BaseOptions<T>>

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<java.time.Duration> getAutoWebviewTimeout()
      Get the timeout to wait until a web view is available.
      default T setAutoWebviewTimeout​(java.time.Duration timeout)
      Set the maximum timeout to wait until a web view is available if autoWebview capability is set to true.
      • Methods inherited from interface org.openqa.selenium.Capabilities

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

      • AUTO_WEBVIEW_TIMEOUT_OPTION

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

      • setAutoWebviewTimeout

        default T setAutoWebviewTimeout​(java.time.Duration timeout)
        Set the maximum timeout to wait until a web view is available if autoWebview capability is set to true. 2000 ms by default.
        Parameters:
        timeout - Timeout value.
        Returns:
        self instance for chaining.
      • getAutoWebviewTimeout

        default java.util.Optional<java.time.Duration> getAutoWebviewTimeout()
        Get the timeout to wait until a web view is available.
        Returns:
        The timeout value.