public static enum Page.PageAssertType extends Enum<Page.PageAssertType>
文件名:Page.java
用途: 指定页面断言的条件枚举
编码时间:2021年2月18日下午5:25:34
修改时间:2021年2月18日下午5:25:34
Enum Constant and Description |
---|
ELEMENT
断言页面元素
|
HTML
断言页面html代码
|
TEXT
断言页面文本
|
TITLE
断言页面标题
|
URL
断言页面最终跳转的url
|
Modifier and Type | Method and Description |
---|---|
static Page.PageAssertType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Page.PageAssertType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Page.PageAssertType TITLE
public static final Page.PageAssertType HTML
public static final Page.PageAssertType URL
public static final Page.PageAssertType TEXT
public static final Page.PageAssertType ELEMENT
public static Page.PageAssertType[] values()
for (Page.PageAssertType c : Page.PageAssertType.values()) System.out.println(c);
public static Page.PageAssertType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2024. All rights reserved.