com.atlassian.jira.pageobjects.gadgets
Class GadgetView
java.lang.Object
com.atlassian.jira.pageobjects.gadgets.GadgetView
- All Implemented Interfaces:
- org.openqa.selenium.SearchContext, org.openqa.selenium.WebElement
public class GadgetView
- extends Object
- implements org.openqa.selenium.WebElement
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GadgetView
public GadgetView(org.openqa.selenium.WebElement view)
close
public void close()
- Closes the Gadget view and returns the WebDriver context back to the default content
Which is usually the Dashboard content.
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
getValue
public String getValue()
- Specified by:
getValue
in interface org.openqa.selenium.WebElement
sendKeys
public void sendKeys(CharSequence... charSequences)
- 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 s)
- Specified by:
getAttribute
in interface org.openqa.selenium.WebElement
toggle
public boolean toggle()
- Specified by:
toggle
in interface org.openqa.selenium.WebElement
isSelected
public boolean isSelected()
- Specified by:
isSelected
in interface org.openqa.selenium.WebElement
setSelected
public void setSelected()
- Specified by:
setSelected
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()
getLocation
public org.openqa.selenium.Point getLocation()
getSize
public org.openqa.selenium.Dimension getSize()
getCssValue
public String getCssValue(String cssValue)
Copyright © 2002-2012 Atlassian. All Rights Reserved.