webdriverio-workflo
Version:
This is a customized version of webdriverio for use with workflo framework.
28 lines (26 loc) • 815 B
JavaScript
/**
*
* Launch the session for the desired capabilities. Note that this is the companion
* to the `autoLaunch=false` capability. This is not for launching arbitrary
* apps/activities --- for that use [`startActivity`](/api/mobile/startActivity.html).
* This is for continuing the initialization ("launch") process if you have used
* `autoLaunch=false`.
*
* <example>
:launch.js
it('should launch capability', function () {
browser.launch();
});
* </example>
*
* @see https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/other/appium-bindings.md#launch
* @type mobile
* @for ios, android
*
*/
export default function launch () {
return this.requestHandler.create({
path: '/session/:sessionId/appium/app/launch',
method: 'POST'
})
}