com.opera.core.systems.testing.drivers
Class MockOperaDriver.MockOperaWebElement

java.lang.Object
  extended by com.opera.core.systems.testing.drivers.MockOperaDriver.MockOperaWebElement
All Implemented Interfaces:
org.openqa.selenium.SearchContext, org.openqa.selenium.WebElement
Enclosing class:
MockOperaDriver

public class MockOperaDriver.MockOperaWebElement
extends Object
implements org.openqa.selenium.WebElement


Constructor Summary
MockOperaDriver.MockOperaWebElement()
           
 
Method Summary
 void clear()
           
 void click()
           
 org.openqa.selenium.WebElement findElement(org.openqa.selenium.By by)
           
 List<org.openqa.selenium.WebElement> findElements(org.openqa.selenium.By by)
           
 String getAttribute(String name)
           
 String getCssValue(String propertyName)
           
 org.openqa.selenium.Point getLocation()
           
 org.openqa.selenium.Dimension getSize()
           
 String getTagName()
           
 String getText()
           
 boolean isDisplayed()
           
 boolean isEnabled()
           
 boolean isSelected()
           
 void sendKeys(CharSequence... keysToSend)
           
 void submit()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockOperaDriver.MockOperaWebElement

public MockOperaDriver.MockOperaWebElement()
Method Detail

click

public void click()
Specified by:
click in interface org.openqa.selenium.WebElement

submit

public void submit()
Specified by:
submit in interface org.openqa.selenium.WebElement

sendKeys

public void sendKeys(CharSequence... keysToSend)
Specified by:
sendKeys in interface org.openqa.selenium.WebElement

clear

public void clear()
Specified by:
clear in interface org.openqa.selenium.WebElement

getTagName

public String getTagName()
Specified by:
getTagName in interface org.openqa.selenium.WebElement

getAttribute

public String getAttribute(String name)
Specified by:
getAttribute in interface org.openqa.selenium.WebElement

isSelected

public boolean isSelected()
Specified by:
isSelected in interface org.openqa.selenium.WebElement

isEnabled

public boolean isEnabled()
Specified by:
isEnabled in interface org.openqa.selenium.WebElement

getText

public String getText()
Specified by:
getText in interface org.openqa.selenium.WebElement

findElements

public List<org.openqa.selenium.WebElement> findElements(org.openqa.selenium.By by)
Specified by:
findElements in interface org.openqa.selenium.SearchContext
Specified by:
findElements in interface org.openqa.selenium.WebElement

findElement

public org.openqa.selenium.WebElement findElement(org.openqa.selenium.By by)
Specified by:
findElement in interface org.openqa.selenium.SearchContext
Specified by:
findElement in interface org.openqa.selenium.WebElement

isDisplayed

public boolean isDisplayed()
Specified by:
isDisplayed in interface org.openqa.selenium.WebElement

getLocation

public org.openqa.selenium.Point getLocation()
Specified by:
getLocation in interface org.openqa.selenium.WebElement

getSize

public org.openqa.selenium.Dimension getSize()
Specified by:
getSize in interface org.openqa.selenium.WebElement

getCssValue

public String getCssValue(String propertyName)
Specified by:
getCssValue in interface org.openqa.selenium.WebElement


Copyright © 2012. All Rights Reserved.