* Get current orientation. * * ```js * let orientation = await I.grabOrientation(); * ``` * * @return {Promise } * * Appium: support Android and iOS
()
| 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. |
no outgoing calls
no test coverage detected