Gets the current orientation of the device. Example: `orientation = driver.orientation`
(self)
| 1225 | |
| 1226 | @property |
| 1227 | def orientation(self) -> dict: |
| 1228 | """Gets the current orientation of the device. |
| 1229 | |
| 1230 | Example: |
| 1231 | `orientation = driver.orientation` |
| 1232 | """ |
| 1233 | return self.execute(Command.GET_SCREEN_ORIENTATION)["value"] |
| 1234 | |
| 1235 | @orientation.setter |
| 1236 | def orientation(self, value) -> None: |
no test coverage detected