Package com.microsoft.playwright
Enum Page.EventType
- java.lang.Object
-
- java.lang.Enum<Page.EventType>
-
- com.microsoft.playwright.Page.EventType
-
- All Implemented Interfaces:
Serializable
,Comparable<Page.EventType>
- Enclosing interface:
- Page
public static enum Page.EventType extends Enum<Page.EventType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLOSE
CONSOLE
CRASH
DIALOG
DOMCONTENTLOADED
DOWNLOAD
FILECHOOSER
FRAMEATTACHED
FRAMEDETACHED
FRAMENAVIGATED
LOAD
PAGEERROR
POPUP
REQUEST
REQUESTFAILED
REQUESTFINISHED
RESPONSE
WEBSOCKET
WORKER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Page.EventType
valueOf(String name)
Returns the enum constant of this type with the specified name.static Page.EventType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLOSE
public static final Page.EventType CLOSE
-
CONSOLE
public static final Page.EventType CONSOLE
-
CRASH
public static final Page.EventType CRASH
-
DIALOG
public static final Page.EventType DIALOG
-
DOMCONTENTLOADED
public static final Page.EventType DOMCONTENTLOADED
-
DOWNLOAD
public static final Page.EventType DOWNLOAD
-
FILECHOOSER
public static final Page.EventType FILECHOOSER
-
FRAMEATTACHED
public static final Page.EventType FRAMEATTACHED
-
FRAMEDETACHED
public static final Page.EventType FRAMEDETACHED
-
FRAMENAVIGATED
public static final Page.EventType FRAMENAVIGATED
-
LOAD
public static final Page.EventType LOAD
-
PAGEERROR
public static final Page.EventType PAGEERROR
-
POPUP
public static final Page.EventType POPUP
-
REQUEST
public static final Page.EventType REQUEST
-
REQUESTFAILED
public static final Page.EventType REQUESTFAILED
-
REQUESTFINISHED
public static final Page.EventType REQUESTFINISHED
-
RESPONSE
public static final Page.EventType RESPONSE
-
WEBSOCKET
public static final Page.EventType WEBSOCKET
-
WORKER
public static final Page.EventType WORKER
-
-
Method Detail
-
values
public static Page.EventType[] 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 (Page.EventType c : Page.EventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Page.EventType 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 nameNullPointerException
- if the argument is null
-
-