Package org.mozilla.zest.core.v1
Class ZestClient
- java.lang.Object
-
- org.mozilla.zest.core.v1.ZestElement
-
- org.mozilla.zest.core.v1.ZestStatement
-
- org.mozilla.zest.core.v1.ZestClient
-
- Direct Known Subclasses:
ZestClientAssignCookie,ZestClientElement,ZestClientLaunch,ZestClientScreenshot,ZestClientSwitchToFrame,ZestClientWindowClose,ZestClientWindowHandle,ZestClientWindowOpenUrl
public abstract class ZestClient extends ZestStatement
An abstract class that all client related statements extend.
-
-
Field Summary
-
Fields inherited from class org.mozilla.zest.core.v1.ZestElement
JSON_ELEMENT_TYPE
-
-
Constructor Summary
Constructors Constructor Description ZestClient()Instantiates a new zest action.ZestClient(int index)Instantiates a new zest client.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Stringinvoke(ZestRuntime runtime)booleanisSameSubclass(ZestElement ze)Checks if is same subclass.-
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
-
invoke
public abstract String invoke(ZestRuntime runtime) throws ZestClientFailException
- Throws:
ZestClientFailException
-
isSameSubclass
public boolean isSameSubclass(ZestElement ze)
Description copied from class:ZestElementChecks if is same subclass.- Overrides:
isSameSubclassin classZestStatement- Parameters:
ze- the ze- Returns:
- true, if is same subclass
-
-