public class RemoteWebElement extends Object implements WebElement, FindsByLinkText, FindsById, FindsByName, FindsByTagName, FindsByClassName, FindsByCssSelector, FindsByXPath, WrapsDriver, Locatable, HasIdentity
| Modifier and Type | Field and Description |
|---|---|
protected FileDetector |
fileDetector |
protected String |
id |
protected org.openqa.selenium.remote.RemoteMouse |
mouse |
protected RemoteWebDriver |
parent |
| Constructor and Description |
|---|
RemoteWebElement() |
protected String id
protected RemoteWebDriver parent
protected org.openqa.selenium.remote.RemoteMouse mouse
protected FileDetector fileDetector
protected void setFoundBy(SearchContext foundFrom, String locator, String term)
public void setParent(RemoteWebDriver parent)
public String getId()
getId in interface HasIdentitypublic void setId(String id)
public void setFileDetector(FileDetector detector)
public void click()
click in interface WebElementpublic void submit()
submit in interface WebElementpublic void sendKeys(CharSequence... keysToSend)
sendKeys in interface WebElementpublic void clear()
clear in interface WebElementpublic String getTagName()
getTagName in interface WebElementpublic String getAttribute(String name)
getAttribute in interface WebElementpublic boolean isSelected()
isSelected in interface WebElementpublic boolean isEnabled()
isEnabled in interface WebElementpublic String getText()
getText in interface WebElementpublic String getCssValue(String propertyName)
getCssValue in interface WebElementpublic List<WebElement> findElements(By by)
findElements in interface SearchContextfindElements in interface WebElementpublic WebElement findElement(By by)
findElement in interface SearchContextfindElement in interface WebElementprotected WebElement findElement(String using, String value)
protected List<WebElement> findElements(String using, String value)
public WebElement findElementById(String using)
findElementById in interface FindsByIdpublic List<WebElement> findElementsById(String using)
findElementsById in interface FindsByIdpublic WebElement findElementByLinkText(String using)
findElementByLinkText in interface FindsByLinkTextpublic List<WebElement> findElementsByLinkText(String using)
findElementsByLinkText in interface FindsByLinkTextpublic WebElement findElementByName(String using)
findElementByName in interface FindsByNamepublic List<WebElement> findElementsByName(String using)
findElementsByName in interface FindsByNamepublic WebElement findElementByClassName(String using)
findElementByClassName in interface FindsByClassNamepublic List<WebElement> findElementsByClassName(String using)
findElementsByClassName in interface FindsByClassNamepublic WebElement findElementByCssSelector(String using)
findElementByCssSelector in interface FindsByCssSelectorpublic List<WebElement> findElementsByCssSelector(String using)
findElementsByCssSelector in interface FindsByCssSelectorpublic WebElement findElementByXPath(String using)
findElementByXPath in interface FindsByXPathpublic List<WebElement> findElementsByXPath(String using)
findElementsByXPath in interface FindsByXPathpublic WebElement findElementByPartialLinkText(String using)
findElementByPartialLinkText in interface FindsByLinkTextpublic List<WebElement> findElementsByPartialLinkText(String using)
findElementsByPartialLinkText in interface FindsByLinkTextpublic WebElement findElementByTagName(String using)
findElementByTagName in interface FindsByTagNamepublic List<WebElement> findElementsByTagName(String using)
findElementsByTagName in interface FindsByTagNamepublic int hashCode()
public WebDriver getWrappedDriver()
getWrappedDriver in interface WrapsDriverpublic boolean isDisplayed()
isDisplayed in interface WebElementpublic Point getLocation()
getLocation in interface WebElementpublic Dimension getSize()
getSize in interface WebElementpublic Coordinates getCoordinates()
getCoordinates in interface LocatableCopyright © 2015. All rights reserved.