public static enum AbstractCellphoneBrower.CapabilityType extends Enum<AbstractCellphoneBrower.CapabilityType>
文件名:CellphoneBrower.java
用途: 定义DesiredCapabilities
类常用的Capability设置枚举
编码时间:2021年4月7日上午11:10:56
修改时间:2021年4月7日上午11:10:56
Enum Constant and Description |
---|
APP_ACTIVITY
app启动入口
|
APP_PACKAGE
app包名
|
AUTOMATION_NAME
自动化执行器名称
|
DEVICE_NAME
设备名称
|
NO_RESET
是否无缓存
|
PLATFORM_NAME
平台名称
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
返回Capability设置的名称
|
static AbstractCellphoneBrower.CapabilityType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractCellphoneBrower.CapabilityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractCellphoneBrower.CapabilityType DEVICE_NAME
public static final AbstractCellphoneBrower.CapabilityType PLATFORM_NAME
public static final AbstractCellphoneBrower.CapabilityType APP_PACKAGE
public static final AbstractCellphoneBrower.CapabilityType APP_ACTIVITY
public static final AbstractCellphoneBrower.CapabilityType AUTOMATION_NAME
public static final AbstractCellphoneBrower.CapabilityType NO_RESET
public static AbstractCellphoneBrower.CapabilityType[] values()
for (AbstractCellphoneBrower.CapabilityType c : AbstractCellphoneBrower.CapabilityType.values()) System.out.println(c);
public static AbstractCellphoneBrower.CapabilityType 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 nullpublic String getName()
Copyright © 2024. All rights reserved.