Interface SupportsWebviewConnectTimeoutOption<T extends BaseOptions<T>>

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

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

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the timeout to wait for the initial presence of webviews.
    default T
    The time to wait for the initial presence of webviews in MobileSafari or hybrid apps.

    Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability

    amend, setCapability

    Methods inherited from interface org.openqa.selenium.Capabilities

    asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
  • Field Details

  • Method Details

    • setWebviewConnectTimeout

      default T setWebviewConnectTimeout(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 Optional<Duration> getWebviewConnectTimeout()
      Get the timeout to wait for the initial presence of webviews.
      Returns:
      Timeout value.