Interface SupportsMsWaitForAppLaunchOption<T extends BaseOptions<T>>

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

public interface SupportsMsWaitForAppLaunchOption<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 used to retry Appium Windows Driver session startup.
    default T
    Similar to createSessionTimeout, but is applied on the server side.

    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

    • setWaitForAppLaunch

      default T setWaitForAppLaunch(Duration timeout)
      Similar to createSessionTimeout, but is applied on the server side. Enables Appium Windows Driver to wait for a defined amount of time after an app launch is initiated prior to attaching to the application session. The limit for this is 50 seconds.
      Parameters:
      timeout - The timeout value.
      Returns:
      self instance for chaining.
    • doesWaitForAppLaunch

      default Optional<Duration> doesWaitForAppLaunch()
      Get the timeout used to retry Appium Windows Driver session startup.
      Returns:
      The timeout value.