public class DesktopOptions extends Object implements WiniumOptions
WiniumDriver
which uses Winium.Desktop| Constructor and Description |
|---|
DesktopOptions() |
| Modifier and Type | Method and Description |
|---|---|
void |
setApplicationPath(String applicationPath)
Sets the absolute local path to an .exe file to be started.
|
void |
setArguments(String arguments)
Sets startup argunments of the application under test.
|
void |
setDebugConnectToRunningApp(Boolean debugConnectToRunningApp)
Sets a value indicating whether debug connect to running app.
|
void |
setKeyboardSimulator(KeyboardSimulatorType keyboardSimulator)
Sets the keyboard simulator type.
|
void |
setLaunchDelay(Integer launchDelay)
Sets the launch delay in milliseconds, to be waited to let visuals to initialize after application started.
|
org.openqa.selenium.Capabilities |
toCapabilities()
Convert options to DesiredCapabilities for Winium Desktop Driver
|
public void setApplicationPath(String applicationPath)
applicationPath - Absolute local path to an .exe file to be started.public void setArguments(String arguments)
arguments - Startup argunments of the application under test.public void setDebugConnectToRunningApp(Boolean debugConnectToRunningApp)
debugConnectToRunningApp - Value indicating whether debug connect to running app.public void setKeyboardSimulator(KeyboardSimulatorType keyboardSimulator)
keyboardSimulator - Keyboard simulator typepublic void setLaunchDelay(Integer launchDelay)
launchDelay - Launch delay in millisecondspublic org.openqa.selenium.Capabilities toCapabilities()
toCapabilities in interface WiniumOptionsCopyright © 2015. All rights reserved.