|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.webdriver.jira.component.dashboard.GadgetView
public class GadgetView
GadgetView is an implentation of the internal view for a gadget and just extends a WebElement so all the normal methods that WebDriver exposes on web elements is available.
| Constructor Summary | |
|---|---|
GadgetView(org.openqa.selenium.WebElement view)
|
|
| Method Summary | |
|---|---|
void |
clear()
|
void |
click()
|
void |
close()
Closes the Gadget view and returns the WebDriver context back to the default content Which is usually the Dashboard content. |
org.openqa.selenium.WebElement |
findElement(org.openqa.selenium.By by)
|
List<org.openqa.selenium.WebElement> |
findElements(org.openqa.selenium.By by)
|
String |
getAttribute(String s)
|
String |
getCssValue(String propertyName)
|
org.openqa.selenium.Point |
getLocation()
|
org.openqa.selenium.Dimension |
getSize()
|
String |
getTagName()
|
String |
getText()
|
String |
getValue()
Deprecated. Use WebElement.getAttribute(String) |
boolean |
isDisplayed()
|
boolean |
isEnabled()
|
boolean |
isSelected()
|
void |
sendKeys(CharSequence... charSequences)
|
void |
setSelected()
Deprecated. Use WebElement.click() |
void |
submit()
|
boolean |
toggle()
Deprecated. Use WebElement.click() |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GadgetView(org.openqa.selenium.WebElement view)
| Method Detail |
|---|
public void close()
public void click()
click in interface org.openqa.selenium.WebElementpublic void submit()
submit in interface org.openqa.selenium.WebElement@Deprecated public String getValue()
WebElement.getAttribute(String)
public void sendKeys(CharSequence... charSequences)
sendKeys in interface org.openqa.selenium.WebElementpublic void clear()
clear in interface org.openqa.selenium.WebElementpublic String getTagName()
getTagName in interface org.openqa.selenium.WebElementpublic String getAttribute(String s)
getAttribute in interface org.openqa.selenium.WebElement@Deprecated public boolean toggle()
WebElement.click()
public boolean isSelected()
isSelected in interface org.openqa.selenium.WebElement@Deprecated public void setSelected()
WebElement.click()
public boolean isEnabled()
isEnabled in interface org.openqa.selenium.WebElementpublic String getText()
getText in interface org.openqa.selenium.WebElementpublic List<org.openqa.selenium.WebElement> findElements(org.openqa.selenium.By by)
findElements in interface org.openqa.selenium.SearchContextfindElements in interface org.openqa.selenium.WebElementpublic org.openqa.selenium.WebElement findElement(org.openqa.selenium.By by)
findElement in interface org.openqa.selenium.SearchContextfindElement in interface org.openqa.selenium.WebElementpublic boolean isDisplayed()
isDisplayed in interface org.openqa.selenium.WebElementpublic org.openqa.selenium.Point getLocation()
getLocation in interface org.openqa.selenium.WebElementpublic org.openqa.selenium.Dimension getSize()
getSize in interface org.openqa.selenium.WebElementpublic String getCssValue(String propertyName)
getCssValue in interface org.openqa.selenium.WebElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||