Enum Class SelectorEngine

java.lang.Object
java.lang.Enum<SelectorEngine>
io.webfolder.cdp.SelectorEngine
All Implemented Interfaces:
Serializable, Comparable<SelectorEngine>, java.lang.constant.Constable

public enum SelectorEngine extends Enum<SelectorEngine>
  • Enum Constant Details

    • Native

      public static final SelectorEngine Native
      Use w3c's native selector engine.
    • Playwright

      public static final SelectorEngine Playwright
      Use Playwright's selector engine. Playwright supports multiple selector engines used to query elements in the web page. Selector is a string that consists of one or more clauses separated by >> token, e.g. clause1 >> clause2 >> clause3. When multiple clauses are present, next one is queried relative to the previous one's result.
      See Also:
  • Method Details

    • values

      public static SelectorEngine[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SelectorEngine valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null