public interface IElement
| 限定符和类型 | 方法和说明 |
|---|---|
void |
assertAttribute(String attr,
String value) |
void |
assertEditable() |
void |
assertIsExist() |
void |
assertNotEditable() |
void |
assertSelected() |
void |
assertText(String text) |
void |
assertValue(String value) |
IElement |
child(String location) |
IElement |
child(String location,
int index) |
CauliElements |
children(String location) |
IElement |
clear() |
void |
click() |
void |
contextClick() |
void |
doubleClick() |
void |
dragAndDrop(IElement element) |
void |
dragAndDrop(org.openqa.selenium.Point point) |
IElement |
find(String location) |
<T> T |
find(String location,
Class<T> tClass) |
void |
focus() |
String |
getAttribute(String attr) |
String |
getCssValue(String name) |
org.openqa.selenium.WebElement |
getElement() |
String |
getId() |
String |
getLocate() |
org.openqa.selenium.Point |
getLocation() |
int[] |
getSize() |
String |
getTagName() |
String |
getText() |
void |
input(String text) |
boolean |
isDisplay() |
boolean |
isEnable() |
boolean |
isExist() |
boolean |
isSelected() |
void |
keyDown(org.openqa.selenium.Keys key) |
void |
keyPress(org.openqa.selenium.Keys key) |
void |
keyPress(String keys) |
void |
keyUp(org.openqa.selenium.Keys key) |
void |
leftDown() |
void |
leftUp() |
void |
mouseOver() |
void |
release() |
void |
scroll() |
void |
setElement(org.openqa.selenium.WebElement webElement) |
void |
setId(String id) |
void |
submit() |
void click()
void doubleClick()
void keyDown(org.openqa.selenium.Keys key)
void keyUp(org.openqa.selenium.Keys key)
void assertEditable()
void assertNotEditable()
void assertSelected()
void assertIsExist()
void assertText(String text)
void assertValue(String value)
IElement clear()
void input(String text)
void focus()
String getText()
String getId()
void setId(String id)
org.openqa.selenium.Point getLocation()
int[] getSize()
String getTagName()
void scroll()
void mouseOver()
void submit()
boolean isExist()
boolean isDisplay()
boolean isEnable()
boolean isSelected()
void dragAndDrop(IElement element)
void dragAndDrop(org.openqa.selenium.Point point)
void leftDown()
void leftUp()
void keyPress(org.openqa.selenium.Keys key)
void keyPress(String keys)
void release()
org.openqa.selenium.WebElement getElement()
CauliElements children(String location)
void contextClick()
void setElement(org.openqa.selenium.WebElement webElement)
String getLocate()
Copyright © 2014. All rights reserved.