Interface SupportsExecutableDirOption<T extends BaseOptions<T>>

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

public interface SupportsExecutableDirOption<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 a directory within which is found any number of WebDriver binaries.
    default T
    A directory within which is found any number of WebDriver binaries.

    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

    • setExecutableDir

      default T setExecutableDir(String directory)
      A directory within which is found any number of WebDriver binaries. If set, the driver will search this directory for WebDrivers of the appropriate version to use for your browser.
      Parameters:
      directory - of WebDriver binaries.
      Returns:
      self instance for chaining.
    • getExecutableDir

      default Optional<String> getExecutableDir()
      Get a directory within which is found any number of WebDriver binaries.
      Returns:
      executable directory of a Driver binary.