Interface SupportsChromedriverExecutableDirOption<T extends BaseOptions<T>>

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

public interface SupportsChromedriverExecutableDirOption<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 full path to the folder where chromedriver executables are located.
    default T
    Full path to the folder where chromedriver executables are located.

    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

    • setChromedriverExecutableDir

      default T setChromedriverExecutableDir(String path)
      Full path to the folder where chromedriver executables are located. This folder is used then to store the downloaded chromedriver executables if automatic download is enabled. Read [Automatic Chromedriver Discovery](https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/ web/chromedriver.md#automatic-discovery-of-compatible-chromedriver) article for more details.
      Parameters:
      path - Path to chromedriver executable.
      Returns:
      self instance for chaining.
    • getChromedriverExecutableDir

      default Optional<String> getChromedriverExecutableDir()
      Get full path to the folder where chromedriver executables are located.
      Returns:
      Path to chromedriver executable dir.