new Appium_Helper()
Functions for handling the Appium server and client sessions.
- Source:
Methods
(async, static) quitServ()
Tells the Appium server to shut down
- Source:
(async, static) runAppium(opts)
Launch an Appium server for the mobile testing, as it cannot use the
desktop session.
Parameters:
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
opts |
Object | Optional arguments
Properties
|
- Source:
(async, static) startClient(capabilities)
Starts a WD session on the device, using the given capability requirements
as Appium configuration.
Parameters:
| Name | Type | Description |
|---|---|---|
capabilities |
Object | Desired capabilities for Appium to run with |
- Source:
(async, static) stopClient(softStop)
Stops the WD session, but first it closes and removes the app from the
device in an attempt to save storage space.
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
softStop |
Boolean | false | Whether or not to remove the app on stopping |
- Source: