public abstract class Widget extends Object implements org.openqa.selenium.SearchContext, org.openqa.selenium.internal.WrapsDriver, org.openqa.selenium.internal.WrapsElement
Modifier | Constructor and Description |
---|---|
protected |
Widget(org.openqa.selenium.WebElement element) |
Modifier and Type | Method and Description |
---|---|
org.openqa.selenium.WebElement |
findElement(org.openqa.selenium.By by) |
List<org.openqa.selenium.WebElement> |
findElements(org.openqa.selenium.By by) |
Widget |
getSelfReference() |
org.openqa.selenium.WebDriver |
getWrappedDriver() |
org.openqa.selenium.WebElement |
getWrappedElement() |
public List<org.openqa.selenium.WebElement> findElements(org.openqa.selenium.By by)
findElements
in interface org.openqa.selenium.SearchContext
public org.openqa.selenium.WebElement findElement(org.openqa.selenium.By by)
findElement
in interface org.openqa.selenium.SearchContext
public org.openqa.selenium.WebDriver getWrappedDriver()
getWrappedDriver
in interface org.openqa.selenium.internal.WrapsDriver
public org.openqa.selenium.WebElement getWrappedElement()
getWrappedElement
in interface org.openqa.selenium.internal.WrapsElement
public Widget getSelfReference()
Copyright © 2016. All rights reserved.