Interface SupportsAutomationNameOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,java.io.Serializable
- All Known Implementing Classes:
BaseOptions,ChromiumOptions,EspressoOptions,FlutterDriverOptions,GeckoOptions,Mac2Options,SafariOptions,UiAutomator2Options,WindowsOptions,XCUITestOptions
public interface SupportsAutomationNameOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringAUTOMATION_NAME_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.String>getAutomationName()Get the automation driver to use.default TsetAutomationName(java.lang.String automationName)Set the automation driver to use.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
AUTOMATION_NAME_OPTION
static final java.lang.String AUTOMATION_NAME_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setAutomationName
default T setAutomationName(java.lang.String automationName)
Set the automation driver to use.- Parameters:
automationName- One of supported automation names.- Returns:
- self instance for chaining.
-
getAutomationName
default java.util.Optional<java.lang.String> getAutomationName()
Get the automation driver to use.- Returns:
- String representing the name of the automation engine
-
-