Add location endpoints. They are not int w3c spec.
(self)
| 88 | return self.execute(Command.GET_LOCATION)['value'] |
| 89 | |
| 90 | def _add_commands(self) -> None: |
| 91 | """Add location endpoints. They are not int w3c spec.""" |
| 92 | self.command_executor.add_command( |
| 93 | Command.TOGGLE_LOCATION_SERVICES, |
| 94 | 'POST', |
| 95 | '/session/$sessionId/appium/device/toggle_location_services', |
| 96 | ) |
| 97 | self.command_executor.add_command(Command.GET_LOCATION, 'GET', '/session/$sessionId/location') |
| 98 | self.command_executor.add_command(Command.SET_LOCATION, 'POST', '/session/$sessionId/location') |
nothing calls this directly
no test coverage detected