Interface SupportsLocaleOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
EspressoOptions
,UiAutomator2Options
,XCUITestOptions
public interface SupportsLocaleOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
LOCALE_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.String>
getLocale()
Get locale abbreviation for use in session.default T
setLocale(java.lang.String locale)
Set locale abbreviation for use in session.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
LOCALE_OPTION
static final java.lang.String LOCALE_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setLocale
default T setLocale(java.lang.String locale)
Set locale abbreviation for use in session.- Parameters:
locale
- is the locale abbreviation.- Returns:
- self instance for chaining.
-
getLocale
default java.util.Optional<java.lang.String> getLocale()
Get locale abbreviation for use in session.- Returns:
- String representing the locale abbreviation.
-
-