MCPcopy
hub / github.com/appium/python-client / _add_commands

Method _add_commands

appium/webdriver/extensions/clipboard.py:97–107  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

95 return self.get_clipboard(ClipboardContentType.PLAINTEXT).decode('UTF-8')
96
97 def _add_commands(self) -> None:
98 self.command_executor.add_command(
99 Command.SET_CLIPBOARD,
100 'POST',
101 '/session/$sessionId/appium/device/set_clipboard',
102 )
103 self.command_executor.add_command(
104 Command.GET_CLIPBOARD,
105 'POST',
106 '/session/$sessionId/appium/device/get_clipboard',
107 )

Callers

nothing calls this directly

Calls 1

add_commandMethod · 0.45

Tested by

no test coverage detected