Share this page

# Enum By.FLAGS

java.lang.Object

java.lang.Enum<By.FLAGS>

com.hpe.leanft.selenium.By.FLAGS

All Implemented Interfaces:
  Serializable, Comparable<By.FLAGS>

Enclosing class:
  By

    public static enum By.FLAGS
    extends Enum<By.FLAGS>

Regular expression flags.

## Enum Constant Summary

Enum Constants

Enum Constant and Description
`CASE_INSENSITIVE`

## Method Summary

All Methods

Modifier and Type | Method and Description
--- | ---
`static By.FLAGS` | `valueOf(String name)` Returns the enum constant of this type with the specified name.
`static By.FLAGS[]` | `values()` Returns an array containing the constants of this enum type, in the order they are declared.

Methods inherited from class java.lang.Enum

`clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

Methods inherited from class java.lang.Object

`getClass, notify, notifyAll, wait, wait, wait`

## Enum Constant Detail

CASE_INSENSITIVE

    public static final By.FLAGS CASE_INSENSITIVE

## Method Detail

- values

      public static By.FLAGS[] values()

  Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:

      for (By.FLAGS c : By.FLAGS.values())
          System.out.println(c);

  Returns:
    an array containing the constants of this enum type, in the order they are declared

- valueOf

      public static By.FLAGS valueOf(String name)

  Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
  Parameters:
    `name` - the name of the enum constant to be returned.
  Returns:
    the enum constant with the specified name
  Throws:
    `IllegalArgumentException` - if this enum type has no constant with the specified name
    `NullPointerException` - if the argument is null

Tips to improve your search results... OpenText™ Functional Testing for Developers (Selenium) Java SDK All versions OpenText™ Functional Testing for Developers (Selenium) SDK 25.2 All View Local Help Center View Online Help Center Version: