WebElementProxy#

public class WebElementProxy implements WebElement#

Класс-декоратор экземпляра WebElement.

Fields#

delegate#

protected final WebElement delegate_#

remoteWebDriver#

protected final JavascriptExecutor remoteWebDriver_#

Constructors#

WebElementProxy#

public WebElementProxy(JavascriptExecutor remoteWebDriver, WebElement delegate)#

Methods#

clear#

public void clear()#

click#

public void click()#

findElement#

public WebElement findElement(By by)#

findElements#

public List<WebElement> findElements(By by)#

getAttribute#

public String getAttribute(String name)#

getCssValue#

public String getCssValue(String propertyName)#

getLocation#

public Point getLocation()#

getRect#

public Rectangle getRect()#

getScreenshotAs#

public <X> X getScreenshotAs(OutputType<X> target)#

getSize#

public Dimension getSize()#

getTagName#

public String getTagName()#

getText#

public String getText()#

isDisplayed#

public boolean isDisplayed()#

isEnabled#

public boolean isEnabled()#

isSelected#

public boolean isSelected()#

sendKeys#

public void sendKeys(CharSequence... keysToSend)#

submit#

public void submit()#