Enum ScreenshotType

java.lang.Object
java.lang.Enum<ScreenshotType>
com.microsoft.playwright.options.ScreenshotType
All Implemented Interfaces:
Serializable, Comparable<ScreenshotType>, java.lang.constant.Constable

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

  • Constructor Details

    • ScreenshotType

      private ScreenshotType()
  • Method Details

    • values

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

      public static ScreenshotType 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