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
Modifier and TypeMethodDescriptionvoidclear(int index) voidclick()voidclick(int index) intcount()findElement(EnhancedBy parentElement, int parentIndex, EnhancedBy enhanceBy) org.openqa.selenium.WebElementget(int index) org.openqa.selenium.WebElementget(int index, boolean isFail) getAttribute(int index, String name) getAttribute(String name) getAttribute(String name, int index) org.openqa.selenium.BygetBy()getCssValue(String arg0, int index) org.openqa.selenium.Byorg.openqa.selenium.BygetElementCssSelector(int index) getElementName(int index) List<org.openqa.selenium.WebElement> org.openqa.selenium.PointgetLocation(int index) org.openqa.selenium.support.ui.SelectgetSelect(int index) getText()getText(int index) booleanisDisplayed(int index) booleanisEmpty()booleanisEnabled(int index) booleanisExist(int... index) voidvoidmoveMouse(int index) voidvoidscrollToView(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) Methods inherited from interface org.openqa.selenium.TakesScreenshot
getScreenshotAsMethods inherited from interface org.openqa.selenium.WebElement
clear, findElement, findElements, getAccessibleName, getAriaRole, getCssValue, getDomAttribute, getDomProperty, getLocation, getRect, getShadowRoot, getSize, getTagName, isDisplayed, isEnabled, isSelected, submit
-
Method Details
-
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
- Specified by:
sendKeysin interfaceorg.openqa.selenium.WebElement
-
sendKeys
-
sendKeysByAction
-
scrollToView
void scrollToView() -
scrollToView_Web
void scrollToView_Web(int index) -
getAttribute
- Specified by:
getAttributein interfaceorg.openqa.selenium.WebElement
-
getAttribute
-
getText
String getText()- Specified by:
getTextin interfaceorg.openqa.selenium.WebElement
-
getText
-
getElementName
String getElementName() -
getElementName
-
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) -
getCssValue
-
clear
void clear(int index) -
isEnabled
boolean isEnabled(int index) -
isDisplayed
boolean isDisplayed(int index) -
getAttribute
-
setAttribute
-
setAttribute
-
get
org.openqa.selenium.WebElement get(int index) -
isExist
boolean isExist(int... index) -
setValue
-
getTextList
-
scrollToView
void scrollToView(int index) -
sendKeyByJs
-
findElement
-
getSelect
org.openqa.selenium.support.ui.Select getSelect(int index) -
get
org.openqa.selenium.WebElement get(int index, boolean isFail)
-