Package core.uiCore.webElement
Interface EnhancedWebElement
-
- All Superinterfaces:
org.openqa.selenium.SearchContext,org.openqa.selenium.TakesScreenshot,org.openqa.selenium.WebElement
- All Known Implementing Classes:
ImpEnhancedWebElement
public interface EnhancedWebElement extends org.openqa.selenium.WebElement
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclear(int index)voidclick()voidclick(int index)intcount()EnhancedWebElementfindElement(EnhancedBy parentElement, int parentIndex, EnhancedBy enhanceBy)org.openqa.selenium.WebElementget(int index)org.openqa.selenium.WebElementget(int index, boolean isFail)StringgetAttribute(int index, String name)StringgetAttribute(String name)StringgetAttribute(String name, int index)org.openqa.selenium.BygetBy()StringgetCssValue(String arg0, int index)org.openqa.selenium.BygetElementCssSelector()org.openqa.selenium.BygetElementCssSelector(int index)StringgetElementName()StringgetElementName(int index)List<org.openqa.selenium.WebElement>getElements()org.openqa.selenium.PointgetLocation(int index)org.openqa.selenium.support.ui.SelectgetSelect(int index)StringgetText()StringgetText(int index)List<String>getTextList()booleanisDisplayed(int index)booleanisEmpty()booleanisEnabled(int index)booleanisExist(int... index)voidmoveMouse()voidmoveMouse(int index)voidscrollToView()voidscrollToView(int index)voidscrollToView_Web(int index)voidsendKeyByJs(int index, CharSequence[] keysToSend)voidsendKeys(int index, CharSequence... keysToSend)voidsendKeys(CharSequence... keysToSend)voidsendKeysByAction(int index, CharSequence... keysToSend)voidsetAttribute(String attribute, int index, String value)voidsetAttribute(String attribute, String value)voidsetValue(int index, CharSequence... value)
-
-
-
Method Detail
-
click
void click()
- Specified by:
clickin interfaceorg.openqa.selenium.WebElement
-
click
void click(int index)
-
moveMouse
void moveMouse()
-
moveMouse
void moveMouse(int index)
-
getElementCssSelector
org.openqa.selenium.By getElementCssSelector()
-
getElementCssSelector
org.openqa.selenium.By getElementCssSelector(int index)
-
sendKeys
void sendKeys(CharSequence... keysToSend)
- Specified by:
sendKeysin interfaceorg.openqa.selenium.WebElement
-
sendKeys
void sendKeys(int index, CharSequence... keysToSend)
-
sendKeysByAction
void sendKeysByAction(int index, CharSequence... keysToSend)
-
scrollToView
void scrollToView()
-
scrollToView_Web
void scrollToView_Web(int index)
-
getAttribute
String getAttribute(String name)
- Specified by:
getAttributein interfaceorg.openqa.selenium.WebElement
-
getText
String getText()
- Specified by:
getTextin interfaceorg.openqa.selenium.WebElement
-
getText
String getText(int index)
-
getElementName
String getElementName()
-
getElementName
String getElementName(int index)
-
count
int count()
-
isEmpty
boolean isEmpty()
-
getElements
List<org.openqa.selenium.WebElement> getElements()
-
getBy
org.openqa.selenium.By getBy()
-
getLocation
org.openqa.selenium.Point getLocation(int index)
-
clear
void clear(int index)
-
isEnabled
boolean isEnabled(int index)
-
isDisplayed
boolean isDisplayed(int index)
-
get
org.openqa.selenium.WebElement get(int index)
-
isExist
boolean isExist(int... index)
-
setValue
void setValue(int index, CharSequence... value)
-
scrollToView
void scrollToView(int index)
-
sendKeyByJs
void sendKeyByJs(int index, CharSequence[] keysToSend)
-
findElement
EnhancedWebElement findElement(EnhancedBy parentElement, int parentIndex, EnhancedBy enhanceBy)
-
getSelect
org.openqa.selenium.support.ui.Select getSelect(int index)
-
get
org.openqa.selenium.WebElement get(int index, boolean isFail)
-
-