(self)
| 145 | return self |
| 146 | |
| 147 | def _add_commands(self) -> None: |
| 148 | self.command_executor.add_command( |
| 149 | Command.HIDE_KEYBOARD, |
| 150 | 'POST', |
| 151 | '/session/$sessionId/appium/device/hide_keyboard', |
| 152 | ) |
| 153 | self.command_executor.add_command( |
| 154 | Command.IS_KEYBOARD_SHOWN, |
| 155 | 'GET', |
| 156 | '/session/$sessionId/appium/device/is_keyboard_shown', |
| 157 | ) |
| 158 | self.command_executor.add_command(Command.KEY_EVENT, 'POST', '/session/$sessionId/appium/device/keyevent') |
| 159 | self.command_executor.add_command( |
| 160 | Command.PRESS_KEYCODE, |
| 161 | 'POST', |
| 162 | '/session/$sessionId/appium/device/press_keycode', |
| 163 | ) |
| 164 | self.command_executor.add_command( |
| 165 | Command.LONG_PRESS_KEYCODE, |
| 166 | 'POST', |
| 167 | '/session/$sessionId/appium/device/long_press_keycode', |
| 168 | ) |
nothing calls this directly
no test coverage detected