Interface SupportsLocalizableStringsDirOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
XCUITestOptions
public interface SupportsLocalizableStringsDirOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
LOCALIZABLE_STRINGS_DIR_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.String>
getLocalizableStringsDir()
Get the resource folder name where the main locale strings are stored.default T
setLocalizableStringsDir(java.lang.String folder)
Where to look for localizable strings in the application bundle.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
LOCALIZABLE_STRINGS_DIR_OPTION
static final java.lang.String LOCALIZABLE_STRINGS_DIR_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setLocalizableStringsDir
default T setLocalizableStringsDir(java.lang.String folder)
Where to look for localizable strings in the application bundle. Defaults to en.lproj.- Parameters:
folder
- The resource folder name where the main locale strings are stored.- Returns:
- self instance for chaining.
-
getLocalizableStringsDir
default java.util.Optional<java.lang.String> getLocalizableStringsDir()
Get the resource folder name where the main locale strings are stored.- Returns:
- Folder name.
-
-