MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / grabOrientation

Method grabOrientation

lib/helper/Appium.js:855–860  ·  view source on GitHub ↗

* Get current orientation. * * ```js * let orientation = await I.grabOrientation(); * ``` * * @return {Promise } * * Appium: support Android and iOS

()

Source from the content-addressed store, hash-verified

853 * Appium: support Android and iOS
854 */
855 async grabOrientation() {
856 onlyForApps.call(this)
857 const res = await this.browser.orientation()
858 this.debugSection('Orientation', res)
859 return res
860 }
861
862 /**
863 * Get all the currently specified settings.

Callers 3

Appium_test.jsFile · 0.80
AppiumTs.types.tsFile · 0.80
Appium.types.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected