Interface SupportsAutomationNameOption<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 SupportsAutomationNameOption<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
    default Optional<String>
    Get the automation driver to use.
    default T
    setAutomationName(String automationName)
    Set the automation driver to use.

    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

    • setAutomationName

      default T setAutomationName(String automationName)
      Set the automation driver to use.
      Parameters:
      automationName - One of supported automation names.
      Returns:
      self instance for chaining.
    • getAutomationName

      default Optional<String> getAutomationName()
      Get the automation driver to use.
      Returns:
      String representing the name of the automation engine