Interface SupportsExecutableOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.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 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 io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
EXECUTABLE
static final java.lang.String EXECUTABLE
- See Also:
- Constant Field Values
-
-
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.
-
-