org.openqa.selenium.ie
Class InternetExplorerElement

java.lang.Object
  extended by org.openqa.selenium.ie.InternetExplorerElement
All Implemented Interfaces:
Locatable, WrapsDriver, RenderedWebElement, SearchContext, WebElement

public class InternetExplorerElement
extends java.lang.Object
implements RenderedWebElement, Locatable, WrapsDriver


Constructor Summary
InternetExplorerElement(org.openqa.selenium.ie.ExportedWebDriverFunctions lib, InternetExplorerDriver parent, com.sun.jna.Pointer element)
           
 
Method Summary
protected  int addToScriptArgs(com.sun.jna.Pointer scriptArgs)
           
 void clear()
           
 void click()
           
 void dragAndDropBy(int moveRightBy, int moveDownBy)
           
 void dragAndDropOn(RenderedWebElement toElement)
           
 boolean equals(java.lang.Object obj)
           
protected  void finalize()
           
 WebElement findElement(By by)
           
 java.util.List<WebElement> findElements(By by)
           
 java.lang.String getAttribute(java.lang.String name)
           
 java.awt.Point getLocation()
           
 java.awt.Point getLocationOnScreenOnceScrolledIntoView()
           
 java.awt.Dimension getSize()
           
 java.lang.String getTagName()
           
 java.lang.String getText()
           
 java.lang.String getValue()
           
 java.lang.String getValueOfCssProperty(java.lang.String propertyName)
           
 WebDriver getWrappedDriver()
           
 int hashCode()
           
 void hover()
           
 boolean isDisplayed()
           
 boolean isEnabled()
           
 boolean isSelected()
           
 void sendKeys(java.lang.CharSequence... value)
           
 void setSelected()
           
 void submit()
           
 boolean toggle()
           
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InternetExplorerElement

public InternetExplorerElement(org.openqa.selenium.ie.ExportedWebDriverFunctions lib,
                               InternetExplorerDriver parent,
                               com.sun.jna.Pointer element)
Method Detail

click

public void click()
Specified by:
click in interface WebElement

getTagName

public java.lang.String getTagName()
Specified by:
getTagName in interface WebElement

getAttribute

public java.lang.String getAttribute(java.lang.String name)
Specified by:
getAttribute in interface WebElement

getText

public java.lang.String getText()
Specified by:
getText in interface WebElement

getValue

public java.lang.String getValue()
Specified by:
getValue in interface WebElement

sendKeys

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

clear

public void clear()
Specified by:
clear in interface WebElement

isEnabled

public boolean isEnabled()
Specified by:
isEnabled in interface WebElement

isSelected

public boolean isSelected()
Specified by:
isSelected in interface WebElement

setSelected

public void setSelected()
Specified by:
setSelected in interface WebElement

hover

public void hover()
Specified by:
hover in interface RenderedWebElement

submit

public void submit()
Specified by:
submit in interface WebElement

toggle

public boolean toggle()
Specified by:
toggle in interface WebElement

isDisplayed

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

getLocationOnScreenOnceScrolledIntoView

public java.awt.Point getLocationOnScreenOnceScrolledIntoView()
Specified by:
getLocationOnScreenOnceScrolledIntoView in interface Locatable

getLocation

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

getSize

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

getValueOfCssProperty

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

finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object
Throws:
java.lang.Throwable

dragAndDropBy

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

dragAndDropOn

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

findElement

public WebElement findElement(By by)
Specified by:
findElement in interface SearchContext
Specified by:
findElement in interface WebElement

findElements

public java.util.List<WebElement> findElements(By by)
Specified by:
findElements in interface SearchContext
Specified by:
findElements in interface WebElement

addToScriptArgs

protected int addToScriptArgs(com.sun.jna.Pointer scriptArgs)

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getWrappedDriver

public WebDriver getWrappedDriver()
Specified by:
getWrappedDriver in interface WrapsDriver


Copyright © 2010. All Rights Reserved.