Interface SupportsExecutableOption<T extends BaseOptions<T>>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String EXECUTABLE  
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<java.lang.String> getExecutable()
      Get the absolute path to a WebDriver binary executable.
      default T setExecutable​(java.lang.String path)
      The absolute path to a WebDriver binary executable.
      • Methods inherited from interface org.openqa.selenium.Capabilities

        asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge
    • Method Detail

      • setExecutable

        default T setExecutable​(java.lang.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 java.util.Optional<java.lang.String> getExecutable()
        Get the absolute path to a WebDriver binary executable.
        Returns:
        executable absolute path.