public class SilverlightOptions extends Object implements WiniumOptions
WiniumDriver
which uses Windows Phone Driver| Constructor and Description |
|---|
SilverlightOptions() |
| Modifier and Type | Method and Description |
|---|---|
void |
setApplicationPath(String applicationPath)
Sets the absolute local path to an .xap file to be installed and launched.
|
void |
setDebugConnectToRunningApp(Boolean debugConnectToRunningApp)
Sets a value indicating whether debug connect to running app.
|
void |
setDeviceName(String deviceName)
Sets name of emulator to use for running test.
|
void |
setInnerPort(Integer innerPort)
Sets the inner port used to communicate between OuterDriver and InnerDrive (injected into Windows Phone app).
|
void |
setLaunchDelay(Integer launchDelay)
Sets launch delay in milliseconds, to be waited to let visuals to initialize
after application launched (after successful ping or timeout).
|
void |
setLaunchTimeout(Integer launchTimeout)
Sets maximum timeout in milliseconds, to be waited for application to launch
|
org.openqa.selenium.Capabilities |
toCapabilities()
Convert options to DesiredCapabilities for one of Winium Drivers
|
public void setApplicationPath(String applicationPath)
applicationPath - Absolute local path to an .xap file to be installed and launched.public void setDebugConnectToRunningApp(Boolean debugConnectToRunningApp)
debugConnectToRunningApp - Value indicating whether debug connect to running app.public void setDeviceName(String deviceName)
deviceName - Name of emulator to use for running test.public void setInnerPort(Integer innerPort)
innerPort - The inner port used to communicate between OuterDriver and InnerDrivepublic void setLaunchDelay(Integer launchDelay)
launchDelay - Launch delay in millisecondspublic void setLaunchTimeout(Integer launchTimeout)
launchTimeout - Maximum timeout in milliseconds, to be waited for application to launchpublic org.openqa.selenium.Capabilities toCapabilities()
WiniumOptionstoCapabilities in interface WiniumOptionsCopyright © 2015. All rights reserved.