Interface SupportsWebviewConnectTimeoutOption<T extends BaseOptions<T>>

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<java.time.Duration> getWebviewConnectTimeout()
      Get the timeout to wait for the initial presence of webviews.
      default T setWebviewConnectTimeout​(java.time.Duration timeout)
      The time to wait for the initial presence of webviews in MobileSafari or hybrid apps.
      • Methods inherited from interface org.openqa.selenium.Capabilities

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

      • WEBVIEW_CONNECT_TIMEOUT_OPTION

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

      • setWebviewConnectTimeout

        default T setWebviewConnectTimeout​(java.time.Duration timeout)
        The time to wait for the initial presence of webviews in MobileSafari or hybrid apps. Defaults to 0ms.
        Parameters:
        timeout - Timeout to wait for the initial presence of webviews.
        Returns:
        self instance for chaining.
      • getWebviewConnectTimeout

        default java.util.Optional<java.time.Duration> getWebviewConnectTimeout()
        Get the timeout to wait for the initial presence of webviews.
        Returns:
        Timeout value.