org.openqa.selenium.htmlunit
Class RenderedHtmlUnitDriverWebElement

java.lang.Object
  extended by org.openqa.selenium.htmlunit.HtmlUnitWebElement
      extended by org.openqa.selenium.htmlunit.RenderedHtmlUnitDriverWebElement
All Implemented Interfaces:
FindsById, FindsByLinkText, FindsByTagName, FindsByXPath, RenderedWebElement, SearchContext, WebElement

public class RenderedHtmlUnitDriverWebElement
extends HtmlUnitWebElement
implements RenderedWebElement


Field Summary
 
Fields inherited from class org.openqa.selenium.htmlunit.HtmlUnitWebElement
element, parent
 
Constructor Summary
RenderedHtmlUnitDriverWebElement(HtmlUnitDriver parent, com.gargoylesoftware.htmlunit.html.HtmlElement element)
           
 
Method Summary
 void click()
           
 void dragAndDropBy(int moveRightBy, int moveDownBy)
           
 void dragAndDropOn(RenderedWebElement element)
           
 java.awt.Point getLocation()
           
 java.awt.Dimension getSize()
           
 java.lang.String getValueOfCssProperty(java.lang.String propertyName)
           
 boolean isDisplayed()
           
 void sendKeys(java.lang.CharSequence... value)
           
 void setSelected()
           
 boolean toggle()
           
 
Methods inherited from class org.openqa.selenium.htmlunit.HtmlUnitWebElement
clear, findElement, findElementById, findElementByLinkText, findElementByPartialLinkText, findElementByTagName, findElementByXPath, findElements, findElementsById, findElementsByLinkText, findElementsByPartialLinkText, findElementsByTagName, findElementsByXPath, getAttribute, getChildrenOfType, getElement, getElementName, getElementsByTagName, getParent, getText, getValue, isEnabled, isSelected, submit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.openqa.selenium.WebElement
clear, findElement, findElements, getAttribute, getChildrenOfType, getElementName, getText, getValue, isEnabled, isSelected, submit
 

Constructor Detail

RenderedHtmlUnitDriverWebElement

public RenderedHtmlUnitDriverWebElement(HtmlUnitDriver parent,
                                        com.gargoylesoftware.htmlunit.html.HtmlElement element)
Method Detail

sendKeys

public void sendKeys(java.lang.CharSequence... value)
Specified by:
sendKeys in interface WebElement
Overrides:
sendKeys in class HtmlUnitWebElement

toggle

public boolean toggle()
Specified by:
toggle in interface WebElement
Overrides:
toggle in class HtmlUnitWebElement

click

public void click()
Specified by:
click in interface WebElement
Overrides:
click in class HtmlUnitWebElement

setSelected

public void setSelected()
Specified by:
setSelected in interface WebElement
Overrides:
setSelected in class HtmlUnitWebElement

isDisplayed

public boolean isDisplayed()
Specified by:
isDisplayed in interface RenderedWebElement

getLocation

public java.awt.Point getLocation()
Specified by:
getLocation in interface RenderedWebElement

getSize

public java.awt.Dimension getSize()
Specified by:
getSize in interface RenderedWebElement

dragAndDropBy

public void dragAndDropBy(int moveRightBy,
                          int moveDownBy)
Specified by:
dragAndDropBy in interface RenderedWebElement

dragAndDropOn

public void dragAndDropOn(RenderedWebElement element)
Specified by:
dragAndDropOn in interface RenderedWebElement

getValueOfCssProperty

public java.lang.String getValueOfCssProperty(java.lang.String propertyName)
Specified by:
getValueOfCssProperty in interface RenderedWebElement


Copyright © 2009. All Rights Reserved.