Package | Description |
---|---|
com.auxiliary.selenium.element | |
com.auxiliary.selenium.location |
Modifier and Type | Method and Description |
---|---|
ArrayList<ElementLocationInfo> |
ElementData.getLocationList()
返回元素定位信息集合
|
Modifier and Type | Method and Description |
---|---|
protected List<org.openqa.selenium.WebElement> |
FindElement.findElement(List<ElementLocationInfo> locationList,
long waitTime)
根据传入的定位方式枚举,以及定位内容,在页面查找 元素,返回查到的元素列表,若查不到元素,则返回空列表
|
Modifier and Type | Method and Description |
---|---|
ArrayList<ElementLocationInfo> |
YamlLocation.getElementLocation() |
ArrayList<ElementLocationInfo> |
JsonLocation.getElementLocation() |
ArrayList<ElementLocationInfo> |
XmlLocation.getElementLocation() |
ArrayList<ElementLocationInfo> |
TextLocation.getElementLocation() |
ArrayList<ElementLocationInfo> |
ReadLocation.getElementLocation()
用于返回元素的定位信息
|
ArrayList<ElementLocationInfo> |
NoFileLocation.getElementLocation() |
Copyright © 2024. All rights reserved.