public interface SupportsLocaleOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LOCALE_OPTION |
Modifier and Type | Method and 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.
|
asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge
amend, setCapability
static final java.lang.String LOCALE_OPTION
default T setLocale(java.lang.String locale)
locale
- is the locale abbreviation.default java.util.Optional<java.lang.String> getLocale()