Interface SupportsExecutableOption<T extends BaseOptions<T>>

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

public interface SupportsExecutableOption<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 absolute path to a WebDriver binary executable.
    default T
    The absolute path to a WebDriver binary executable.

    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

    • setExecutable

      default T setExecutable(String path)
      The absolute path to a WebDriver binary executable. If set, the driver will use that path instead of its own WebDriver.
      Parameters:
      path - absolute of a WebDriver.
      Returns:
      self instance for chaining.
    • getExecutable

      default Optional<String> getExecutable()
      Get the absolute path to a WebDriver binary executable.
      Returns:
      executable absolute path.