Gets the current orientation of the device. Example: `orientation = driver.orientation`
(self)
| 1118 | |
| 1119 | @property |
| 1120 | def orientation(self) -> dict: |
| 1121 | """Gets the current orientation of the device. |
| 1122 | |
| 1123 | Example: |
| 1124 | `orientation = driver.orientation` |
| 1125 | """ |
| 1126 | return self.execute(Command.GET_SCREEN_ORIENTATION)["value"] |
| 1127 | |
| 1128 | @orientation.setter |
| 1129 | def orientation(self, value) -> None: |
no test coverage detected