Class PropertiesReader

java.lang.Object
com.codeborne.selenide.PropertiesReader

public final class PropertiesReader extends Object
  • Constructor Details

    • PropertiesReader

      public PropertiesReader(String fileName)
  • Method Details

    • getPropertyOrNull

      public @Nullable String getPropertyOrNull(String key)
      Returns:
      null if property is null OR empty string.
    • getProperty

      public String getProperty(String key, String defaultValue)
    • getBoolean

      public boolean getBoolean(String key, boolean defaultValue)
    • getInt

      public int getInt(String key, int defaultValue)
    • getLong

      public long getLong(String key, long defaultValue)