Interface SupportsLocaleOption<T extends BaseOptions<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 org.openqa.selenium.Capabilities

        asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatform, getPlatformName, getVersion, is, merge
    • 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.