Package | Description |
---|---|
com.auxiliary.selenium.element | |
com.auxiliary.selenium.location |
Modifier and Type | Method and Description |
---|---|
protected org.openqa.selenium.By |
FindElement.getBy(String value,
ByType byType)
根据元素的参数,返回元素的By对象
|
Modifier and Type | Method and Description |
---|---|
ByType |
ElementLocationInfo.getByType()
用于返回元素定位类型
|
static ByType |
ByType.typeText2Type(String typeText)
该方法用于将枚举文本转换为消息枚举
|
static ByType |
ByType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ByType[] |
ByType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
WriteLocation.putElementLocation(String name,
ByType byType,
String value)
用于设置元素的定位方式,该内容允许多次设置,将存储多个元素定位方式
|
void |
NoFileLocation.putElementLocation(String name,
ByType byType,
String value) |
void |
WriteTempletLocation.putElementTempletLocation(String name,
ByType byType,
String templetId)
用于设置元素调用模板的id,该内容允许多次设置,将存储多个元素定位方式模板。若元素名称不存在,则创建元素
|
void |
NoFileLocation.putElementTempletLocation(String name,
ByType byType,
String templetId) |
Constructor and Description |
---|
ElementLocationInfo(ByType byType,
String locationText)
设定元素定位信息
|
Copyright © 2024. All rights reserved.