Class Alias

java.lang.Object
com.codeborne.selenide.impl.Alias

@ParametersAreNonnullByDefault public class Alias extends Object
  • Field Details

    • NONE

      public static final Alias NONE
  • Constructor Details

    • Alias

      public Alias(String text)
  • Method Details

    • getOrElse

      @CheckReturnValue public String getOrElse(Supplier<String> defaultValue)
    • get

      @CheckReturnValue public String get(Supplier<String> defaultValue)
    • appendable

      @Nonnull @CheckReturnValue public String appendable()
    • getText

      @Nullable @CheckReturnValue public String getText()
      As a rule, you don't need to use this method directly.
      Returns:
      text value of this alias (or empty text if alias is not defined)
      Since:
      5.20.0