Package org.mozilla.zest.core.v1
Class ZestClientLaunch
- 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.ZestClientLaunch
-
public class ZestClientLaunch extends ZestClient
Launch a new client (browser)
-
-
Field Summary
-
Fields inherited from class org.mozilla.zest.core.v1.ZestElement
JSON_ELEMENT_TYPE
-
-
Constructor Summary
Constructors Constructor Description ZestClientLaunch()ZestClientLaunch(String windowHandle, String browserType, String url)ZestClientLaunch(String windowHandle, String browserType, String url, boolean headless)ZestClientLaunch(String windowHandle, String browserType, String url, boolean headless, String profilePath)ZestClientLaunch(String windowHandle, String browserType, String url, String capabilities)ZestClientLaunch(String windowHandle, String browserType, String url, String capabilities, boolean headless)ZestClientLaunch(String windowHandle, String browserType, String url, String capabilities, boolean headless, String profilePath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ZestStatementdeepCopy()Deep copy.StringgetBrowserType()StringgetCapabilities()StringgetProfilePath()StringgetUrl()StringgetWindowHandle()Stringinvoke(ZestRuntime runtime)booleanisHeadless()booleanisPassive()Checks if is passive.voidsetBrowserType(String browserType)voidsetCapabilities(String capabilities)voidsetHeadless(boolean headless)voidsetProfilePath(String profilePath)voidsetUrl(String url)voidsetWindowHandle(String windowHandle)-
Methods inherited from class org.mozilla.zest.core.v1.ZestClient
isSameSubclass
-
Methods inherited from class org.mozilla.zest.core.v1.ZestStatement
getIndex, getNext, getPrevious, init, insertAfter, insertBefore, isEnabled, remove, setEnabled, setNext, setPrev
-
Methods inherited from class org.mozilla.zest.core.v1.ZestElement
getElementType, setElementType
-
-
-
-
Constructor Detail
-
ZestClientLaunch
public ZestClientLaunch(String windowHandle, String browserType, String url, boolean headless)
-
ZestClientLaunch
public ZestClientLaunch(String windowHandle, String browserType, String url, boolean headless, String profilePath)
-
ZestClientLaunch
public ZestClientLaunch(String windowHandle, String browserType, String url, String capabilities)
-
ZestClientLaunch
public ZestClientLaunch(String windowHandle, String browserType, String url, String capabilities, boolean headless)
-
ZestClientLaunch
public ZestClientLaunch(String windowHandle, String browserType, String url, String capabilities, boolean headless, String profilePath)
-
ZestClientLaunch
public ZestClientLaunch()
-
-
Method Detail
-
getWindowHandle
public String getWindowHandle()
-
setWindowHandle
public void setWindowHandle(String windowHandle)
-
getBrowserType
public String getBrowserType()
-
setBrowserType
public void setBrowserType(String browserType)
-
getUrl
public String getUrl()
-
setUrl
public void setUrl(String url)
-
getCapabilities
public String getCapabilities()
-
setCapabilities
public void setCapabilities(String capabilities)
-
isHeadless
public boolean isHeadless()
-
setHeadless
public void setHeadless(boolean headless)
-
getProfilePath
public String getProfilePath()
-
setProfilePath
public void setProfilePath(String profilePath)
-
deepCopy
public ZestStatement deepCopy()
Description copied from class:ZestElementDeep copy.- Specified by:
deepCopyin classZestStatement- Returns:
- the zest element
-
isPassive
public boolean isPassive()
Description copied from class:ZestStatementChecks if is passive.- Specified by:
isPassivein classZestStatement- Returns:
- true, if is passive
-
invoke
public String invoke(ZestRuntime runtime) throws ZestClientFailException
- Specified by:
invokein classZestClient- Throws:
ZestClientFailException
-
-