public interface WebFragment
Modifier and Type | Method and Description |
---|---|
void |
checkTextToBeNotPresent(String text) |
void |
checkTextToBePresent(String text) |
void |
clear() |
void |
click() |
boolean |
containsText(String text) |
org.openqa.selenium.WebElement |
findElement(org.openqa.selenium.By by) |
List<org.openqa.selenium.WebElement> |
findElements(org.openqa.selenium.By by) |
String |
getAttribute(String name) |
String |
getCssValue(String propertyName) |
org.openqa.selenium.WebElement |
getElement() |
String |
getId() |
org.openqa.selenium.Point |
getLocation() |
org.openqa.selenium.Dimension |
getSize() |
String |
getTagName() |
String |
getText() |
<T extends WebFragment> |
getWebFragment(org.openqa.selenium.By by,
Class<T> webFragmentClass) |
<T extends WebFragment> |
getWebFragment(org.openqa.selenium.WebElement element,
Class<T> webFragmentClass) |
boolean |
isDisplayed() |
boolean |
isEnabled() |
boolean |
isSelected() |
void |
sendKeys(CharSequence... keysToSend) |
void |
setElement(org.openqa.selenium.WebElement element) |
void |
submit() |
void |
waitForTextToBePresent(String text) |
org.openqa.selenium.WebElement getElement()
void setElement(org.openqa.selenium.WebElement element)
boolean containsText(String text)
void waitForTextToBePresent(String text)
void checkTextToBePresent(String text)
void checkTextToBeNotPresent(String text)
<T extends WebFragment> T getWebFragment(org.openqa.selenium.By by, Class<T> webFragmentClass)
<T extends WebFragment> T getWebFragment(org.openqa.selenium.WebElement element, Class<T> webFragmentClass)
void click()
void submit()
void sendKeys(CharSequence... keysToSend)
void clear()
String getTagName()
String getAttribute(String name)
boolean isSelected()
boolean isEnabled()
List<org.openqa.selenium.WebElement> findElements(org.openqa.selenium.By by)
org.openqa.selenium.WebElement findElement(org.openqa.selenium.By by)
boolean isDisplayed()
org.openqa.selenium.Point getLocation()
org.openqa.selenium.Dimension getSize()
String getCssValue(String propertyName)
Copyright © 2017 Nuxeo. All rights reserved.