org.openqa.selenium.interactions.internal.Locatable, org.openqa.selenium.interactions.Locatable, org.openqa.selenium.internal.FindsByClassName, org.openqa.selenium.internal.FindsByCssSelector, org.openqa.selenium.internal.FindsById, org.openqa.selenium.internal.FindsByLinkText, org.openqa.selenium.internal.FindsByName, org.openqa.selenium.internal.FindsByTagName, org.openqa.selenium.internal.FindsByXPath, org.openqa.selenium.internal.Locatable, org.openqa.selenium.internal.WrapsDriver, org.openqa.selenium.SearchContext, org.openqa.selenium.TakesScreenshot, org.openqa.selenium.WebElement, org.openqa.selenium.WrapsDriverpublic abstract class WebComponent
extends java.lang.Object
implements org.openqa.selenium.WebElement, org.openqa.selenium.internal.FindsByLinkText, org.openqa.selenium.internal.FindsById, org.openqa.selenium.internal.FindsByName, org.openqa.selenium.internal.FindsByTagName, org.openqa.selenium.internal.FindsByClassName, org.openqa.selenium.internal.FindsByCssSelector, org.openqa.selenium.internal.FindsByXPath, org.openqa.selenium.internal.WrapsDriver, org.openqa.selenium.internal.Locatable
| Constructor | Description |
|---|---|
WebComponent() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
clear() |
|
void |
clear(org.openqa.selenium.WebElement webElement) |
|
void |
click() |
|
void |
click(org.openqa.selenium.WebElement webElement) |
|
org.openqa.selenium.WebElement |
findElement(org.openqa.selenium.By by) |
|
org.openqa.selenium.WebElement |
findElementByClassName(java.lang.String using) |
|
org.openqa.selenium.WebElement |
findElementByCssSelector(java.lang.String using) |
|
org.openqa.selenium.WebElement |
findElementById(java.lang.String using) |
|
org.openqa.selenium.WebElement |
findElementByLinkText(java.lang.String using) |
|
org.openqa.selenium.WebElement |
findElementByName(java.lang.String using) |
|
org.openqa.selenium.WebElement |
findElementByPartialLinkText(java.lang.String using) |
|
org.openqa.selenium.WebElement |
findElementByTagName(java.lang.String using) |
|
org.openqa.selenium.WebElement |
findElementByXPath(java.lang.String using) |
|
java.util.List<org.openqa.selenium.WebElement> |
findElements(org.openqa.selenium.By by) |
|
java.util.List<org.openqa.selenium.WebElement> |
findElementsByClassName(java.lang.String using) |
|
java.util.List<org.openqa.selenium.WebElement> |
findElementsByCssSelector(java.lang.String using) |
|
java.util.List<org.openqa.selenium.WebElement> |
findElementsById(java.lang.String using) |
|
java.util.List<org.openqa.selenium.WebElement> |
findElementsByLinkText(java.lang.String using) |
|
java.util.List<org.openqa.selenium.WebElement> |
findElementsByName(java.lang.String using) |
|
java.util.List<org.openqa.selenium.WebElement> |
findElementsByPartialLinkText(java.lang.String using) |
|
java.util.List<org.openqa.selenium.WebElement> |
findElementsByTagName(java.lang.String using) |
|
java.util.List<org.openqa.selenium.WebElement> |
findElementsByXPath(java.lang.String using) |
|
java.lang.String |
getAttribute(java.lang.String name) |
|
org.openqa.selenium.interactions.internal.Coordinates |
getCoordinates() |
|
java.lang.String |
getCssValue(java.lang.String propertyName) |
|
org.openqa.selenium.WebElement |
getDelegateWebElement() |
|
org.openqa.selenium.Point |
getLocation() |
|
org.openqa.selenium.Rectangle |
getRect() |
|
<X> X |
getScreenshotAs(org.openqa.selenium.OutputType<X> ot) |
|
org.openqa.selenium.Dimension |
getSize() |
|
java.lang.String |
getTagName() |
|
java.lang.String |
getText() |
|
org.openqa.selenium.WebDriver |
getWrappedDriver() |
|
org.openqa.selenium.WebElement |
getWrappedWebElement() |
|
void |
init(org.openqa.selenium.WebDriver webDriver,
org.openqa.selenium.WebElement wrappedWebElement) |
|
void |
init(org.openqa.selenium.WebDriver webDriver,
org.openqa.selenium.WebElement wrappedWebElement,
org.openqa.selenium.WebElement delegateWebElement) |
|
boolean |
isDisplayed() |
|
boolean |
isDisplayed(org.openqa.selenium.WebElement webElement) |
|
boolean |
isEnabled() |
|
boolean |
isSelected() |
|
void |
sendKeys(java.lang.CharSequence... keysToSend) |
|
void |
submit() |
public void init(org.openqa.selenium.WebDriver webDriver,
org.openqa.selenium.WebElement wrappedWebElement)
public void init(org.openqa.selenium.WebDriver webDriver,
org.openqa.selenium.WebElement wrappedWebElement,
org.openqa.selenium.WebElement delegateWebElement)
public org.openqa.selenium.WebElement getWrappedWebElement()
public org.openqa.selenium.WebElement getDelegateWebElement()
public void click()
click in interface org.openqa.selenium.WebElementpublic void submit()
submit in interface org.openqa.selenium.WebElementpublic void sendKeys(java.lang.CharSequence... keysToSend)
sendKeys in interface org.openqa.selenium.WebElementpublic void clear()
clear in interface org.openqa.selenium.WebElementpublic java.lang.String getTagName()
getTagName in interface org.openqa.selenium.WebElementpublic java.lang.String getAttribute(java.lang.String name)
getAttribute in interface org.openqa.selenium.WebElementpublic boolean isSelected()
isSelected in interface org.openqa.selenium.WebElementpublic boolean isEnabled()
isEnabled in interface org.openqa.selenium.WebElementpublic java.lang.String getText()
getText in interface org.openqa.selenium.WebElementpublic java.util.List<org.openqa.selenium.WebElement> findElements(org.openqa.selenium.By by)
findElements in interface org.openqa.selenium.SearchContextfindElements in interface org.openqa.selenium.WebElementpublic org.openqa.selenium.WebElement findElement(org.openqa.selenium.By by)
findElement in interface org.openqa.selenium.SearchContextfindElement in interface org.openqa.selenium.WebElementpublic boolean isDisplayed()
isDisplayed in interface org.openqa.selenium.WebElementpublic org.openqa.selenium.Point getLocation()
getLocation in interface org.openqa.selenium.WebElementpublic org.openqa.selenium.Dimension getSize()
getSize in interface org.openqa.selenium.WebElementpublic org.openqa.selenium.Rectangle getRect()
getRect in interface org.openqa.selenium.WebElementpublic java.lang.String getCssValue(java.lang.String propertyName)
getCssValue in interface org.openqa.selenium.WebElementpublic void click(org.openqa.selenium.WebElement webElement)
public void clear(org.openqa.selenium.WebElement webElement)
public boolean isDisplayed(org.openqa.selenium.WebElement webElement)
public org.openqa.selenium.WebElement findElementByLinkText(java.lang.String using)
findElementByLinkText in interface org.openqa.selenium.internal.FindsByLinkTextpublic java.util.List<org.openqa.selenium.WebElement> findElementsByLinkText(java.lang.String using)
findElementsByLinkText in interface org.openqa.selenium.internal.FindsByLinkTextpublic org.openqa.selenium.WebElement findElementByPartialLinkText(java.lang.String using)
findElementByPartialLinkText in interface org.openqa.selenium.internal.FindsByLinkTextpublic java.util.List<org.openqa.selenium.WebElement> findElementsByPartialLinkText(java.lang.String using)
findElementsByPartialLinkText in interface org.openqa.selenium.internal.FindsByLinkTextpublic org.openqa.selenium.WebElement findElementById(java.lang.String using)
findElementById in interface org.openqa.selenium.internal.FindsByIdpublic java.util.List<org.openqa.selenium.WebElement> findElementsById(java.lang.String using)
findElementsById in interface org.openqa.selenium.internal.FindsByIdpublic org.openqa.selenium.WebElement findElementByName(java.lang.String using)
findElementByName in interface org.openqa.selenium.internal.FindsByNamepublic java.util.List<org.openqa.selenium.WebElement> findElementsByName(java.lang.String using)
findElementsByName in interface org.openqa.selenium.internal.FindsByNamepublic org.openqa.selenium.WebElement findElementByTagName(java.lang.String using)
findElementByTagName in interface org.openqa.selenium.internal.FindsByTagNamepublic java.util.List<org.openqa.selenium.WebElement> findElementsByTagName(java.lang.String using)
findElementsByTagName in interface org.openqa.selenium.internal.FindsByTagNamepublic org.openqa.selenium.WebElement findElementByClassName(java.lang.String using)
findElementByClassName in interface org.openqa.selenium.internal.FindsByClassNamepublic java.util.List<org.openqa.selenium.WebElement> findElementsByClassName(java.lang.String using)
findElementsByClassName in interface org.openqa.selenium.internal.FindsByClassNamepublic org.openqa.selenium.WebElement findElementByCssSelector(java.lang.String using)
findElementByCssSelector in interface org.openqa.selenium.internal.FindsByCssSelectorpublic java.util.List<org.openqa.selenium.WebElement> findElementsByCssSelector(java.lang.String using)
findElementsByCssSelector in interface org.openqa.selenium.internal.FindsByCssSelectorpublic org.openqa.selenium.WebElement findElementByXPath(java.lang.String using)
findElementByXPath in interface org.openqa.selenium.internal.FindsByXPathpublic java.util.List<org.openqa.selenium.WebElement> findElementsByXPath(java.lang.String using)
findElementsByXPath in interface org.openqa.selenium.internal.FindsByXPathpublic org.openqa.selenium.WebDriver getWrappedDriver()
getWrappedDriver in interface org.openqa.selenium.WrapsDriverpublic org.openqa.selenium.interactions.internal.Coordinates getCoordinates()
getCoordinates in interface org.openqa.selenium.interactions.Locatablepublic <X> X getScreenshotAs(org.openqa.selenium.OutputType<X> ot)
throws org.openqa.selenium.WebDriverException
getScreenshotAs in interface org.openqa.selenium.TakesScreenshotorg.openqa.selenium.WebDriverExceptionCopyright © 2017–2018 RapidPM - Vaadin Developer. All rights reserved.