Interface SupportsLocalizableStringsDirOption<T extends BaseOptions<T>>

    • 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 org.openqa.selenium.Capabilities

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