Interface SupportsChromedriverExecutableDirOption<T extends BaseOptions<T>>

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<java.lang.String> getChromedriverExecutableDir()
      Get full path to the folder where chromedriver executables are located.
      default T setChromedriverExecutableDir​(java.lang.String path)
      Full path to the folder where chromedriver executables are located.
      • Methods inherited from interface org.openqa.selenium.Capabilities

        asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatform, getPlatformName, getVersion, is, merge
    • Field Detail

      • CHROMEDRIVER_EXECUTABLE_DIR_OPTION

        static final java.lang.String CHROMEDRIVER_EXECUTABLE_DIR_OPTION
        See Also:
        Constant Field Values
    • Method Detail

      • setChromedriverExecutableDir

        default T setChromedriverExecutableDir​(java.lang.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 java.util.Optional<java.lang.String> getChromedriverExecutableDir()
        Get full path to the folder where chromedriver executables are located.
        Returns:
        Path to chromedriver executable dir.