Package org.mozilla.zest.core.v1
Class ZestClientElement
- java.lang.Object
-
- org.mozilla.zest.core.v1.ZestElement
-
- org.mozilla.zest.core.v1.ZestStatement
-
- org.mozilla.zest.core.v1.ZestClient
-
- org.mozilla.zest.core.v1.ZestClientElement
-
- Direct Known Subclasses:
ZestClientElementAssign,ZestClientElementClear,ZestClientElementClick,ZestClientElementSendKeys,ZestClientElementSubmit
public abstract class ZestClientElement extends ZestClient
An abstract class representing an action on a client element.
-
-
Field Summary
-
Fields inherited from class org.mozilla.zest.core.v1.ZestElement
JSON_ELEMENT_TYPE
-
-
Constructor Summary
Constructors Constructor Description ZestClientElement()ZestClientElement(String windowHandle, String type, String element)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetElement()StringgetType()protected org.openqa.selenium.WebElementgetWebElement(ZestRuntime runtime)StringgetWindowHandle()voidsetElement(String element)voidsetType(String type)voidsetWindowHandle(String windowHandle)-
Methods inherited from class org.mozilla.zest.core.v1.ZestClient
invoke, isSameSubclass
-
Methods inherited from class org.mozilla.zest.core.v1.ZestStatement
deepCopy, getIndex, getNext, getPrevious, init, insertAfter, insertBefore, isEnabled, isPassive, remove, setEnabled, setNext, setPrev
-
Methods inherited from class org.mozilla.zest.core.v1.ZestElement
getElementType, setElementType
-
-
-
-
Method Detail
-
getWindowHandle
public String getWindowHandle()
-
setWindowHandle
public void setWindowHandle(String windowHandle)
-
getElement
public String getElement()
-
getType
public String getType()
-
setType
public void setType(String type)
-
setElement
public void setElement(String element)
-
getWebElement
protected org.openqa.selenium.WebElement getWebElement(ZestRuntime runtime) throws ZestClientFailException
- Throws:
ZestClientFailException
-
-