Interface SupportsAvdOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
EspressoOptions
,UiAutomator2Options
public interface SupportsAvdOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
AVD_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.String>
getAvd()
Get the name of Android emulator to run the test on.default T
setAvd(java.lang.String avd)
The name of Android emulator to run the test on.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
AVD_OPTION
static final java.lang.String AVD_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setAvd
default T setAvd(java.lang.String avd)
The name of Android emulator to run the test on. The names of currently installed emulators could be listed using avdmanager list avd command. If the emulator with the given name is not running then it is going to be started before a test.- Parameters:
avd
- The emulator name to use.- Returns:
- self instance for chaining.
-
getAvd
default java.util.Optional<java.lang.String> getAvd()
Get the name of Android emulator to run the test on.- Returns:
- Emulator name.
-
-