forked from enviPath/enviPy
22 lines
426 B
JavaScript
22 lines
426 B
JavaScript
/**
|
|
*
|
|
* Close the given application.
|
|
*
|
|
* <example>
|
|
:closeApp.js
|
|
browser.closeApp()
|
|
* </example>
|
|
*
|
|
* @see https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/appium-bindings.md#close-app
|
|
* @type mobile
|
|
* @for ios
|
|
*
|
|
*/
|
|
|
|
export default function closeApp () {
|
|
return this.requestHandler.create({
|
|
path: '/session/:sessionId/appium/app/close',
|
|
method: 'POST'
|
|
})
|
|
}
|