Interface SupportsNewCommandTimeoutOption<T extends BaseOptions<T>>

All Superinterfaces:
CanSetCapability<T>, org.openqa.selenium.Capabilities, Serializable
All Known Implementing Classes:
BaseOptions, ChromiumOptions, EspressoOptions, FlutterDriverOptions, GeckoOptions, Mac2Options, SafariOptions, UiAutomator2Options, WindowsOptions, XCUITestOptions

public interface SupportsNewCommandTimeoutOption<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 for new commands.
    default T
    Set the timeout for new commands.

    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

    • setNewCommandTimeout

      default T setNewCommandTimeout(Duration duration)
      Set the timeout for new commands.
      Parameters:
      duration - is the allowed time before seeing a new command.
      Returns:
      self instance for chaining.
    • getNewCommandTimeout

      default Optional<Duration> getNewCommandTimeout()
      Get the timeout for new commands.
      Returns:
      allowed time before seeing a new command.