Files
enviPy-bayer/static/js/ketcher2/node_modules/webdriverio/lib/protocol/contexts.js
2025-06-23 20:13:54 +02:00

18 lines
483 B
JavaScript

/**
*
* Returns an object with a value field containing the list of all available contexts
*
* @see http://appium.io/slate/en/v1.1.0/?javascript#automating-hybrid-ios-apps
* @see https://github.com/admc/wd/blob/master/lib/commands.js#L279
* @type mobile
* @for android, ios
*
*/
import depcrecate from '../helpers/depcrecationWarning'
export default function contexts () {
depcrecate('contexts')
return this.requestHandler.create('/session/:sessionId/contexts')
}