Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

mjsonwp.json 3.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. {
  2. "/session/:sessionId/context": {
  3. "GET": {
  4. "command": "getContext",
  5. "ref": "https://github.com/SeleniumHQ/mobile-spec/blob/master/spec-draft.md#webviews-and-other-contexts",
  6. "parameters": [],
  7. "returns": {
  8. "type": "string|null",
  9. "name": "context",
  10. "description": "a string representing the current context or null representing 'no context'"
  11. }
  12. },
  13. "POST": {
  14. "command": "switchContext",
  15. "ref": "https://github.com/SeleniumHQ/mobile-spec/blob/master/spec-draft.md#webviews-and-other-contexts",
  16. "parameters": [{
  17. "name": "name",
  18. "type": "string",
  19. "description": "a string representing an available context",
  20. "required": true
  21. }]
  22. }
  23. },
  24. "/session/:sessionId/contexts": {
  25. "GET": {
  26. "command": "getContexts",
  27. "ref": "https://github.com/SeleniumHQ/mobile-spec/blob/master/spec-draft.md#webviews-and-other-contexts",
  28. "parameters": [],
  29. "returns": {
  30. "type": "string[]",
  31. "name": "contexts",
  32. "description": "an array of strings representing available contexts, e.g. 'WEBVIEW', or 'NATIVE'"
  33. }
  34. }
  35. },
  36. "/session/:sessionId/element/:elementId/pageIndex": {
  37. "GET": {
  38. "command": "getPageIndex",
  39. "ref": "https://github.com/appium/appium-base-driver/blob/master/docs/mjsonwp/protocol-methods.md#mobile-json-wire-protocol-endpoints",
  40. "parameters": [],
  41. "returns": {
  42. "type": "string",
  43. "name": "pageIndex"
  44. }
  45. }
  46. },
  47. "/session/:sessionId/network_connection": {
  48. "GET": {
  49. "command": "getNetworkConnection",
  50. "ref": "https://github.com/SeleniumHQ/mobile-spec/blob/master/spec-draft.md#device-modes",
  51. "parameters": [],
  52. "returns": {
  53. "type": "number",
  54. "name": "connectionType",
  55. "description": "see http://appium.io/docs/en/writing-running-appium/other/network-connection/"
  56. }
  57. },
  58. "POST": {
  59. "command": "setNetworkConnection",
  60. "ref": "https://github.com/SeleniumHQ/mobile-spec/blob/master/spec-draft.md#device-modes",
  61. "parameters": [{
  62. "name": "type",
  63. "type": "number",
  64. "description": "a bit mask that should be translated to an integer value when serialized",
  65. "required": true
  66. }]
  67. }
  68. },
  69. "/session/:sessionId/touch/perform": {
  70. "GET": {
  71. "command": "touchPerform",
  72. "ref": "https://github.com/SeleniumHQ/mobile-spec/blob/master/spec-draft.md#touch-gestures",
  73. "parameters": [{
  74. "name": "actions",
  75. "type": "object[]",
  76. "description": "a list of objects, each of which represents an input source and its associated actions",
  77. "required": true
  78. }]
  79. }
  80. },
  81. "/session/:sessionId/touch/multi/perform": {
  82. "GET": {
  83. "command": "multiTouchPerform",
  84. "ref": "https://github.com/SeleniumHQ/mobile-spec/blob/master/spec-draft.md#touch-gestures",
  85. "parameters": [{
  86. "name": "actions",
  87. "type": "object[]",
  88. "description": "a list of objects, each of which represents an input source and its associated actions",
  89. "required": true
  90. }, {
  91. "name": "elementId",
  92. "type": "object[]",
  93. "description": "the id of an element returned in a previous call to Find Element(s)"
  94. }]
  95. }
  96. },
  97. "/session/:sessionId/receive_async_response": {
  98. "POST": {
  99. "command": "receiveAsyncResponse",
  100. "ref": "https://github.com/appium/appium-base-driver/blob/master/docs/mjsonwp/protocol-methods.md#mobile-json-wire-protocol-endpoints",
  101. "parameters": [{
  102. "name": "status",
  103. "type": "string",
  104. "description": "the expected status of the response",
  105. "required": true
  106. }, {
  107. "name": "value",
  108. "type": "string",
  109. "description": "the expected value of the response",
  110. "required": true
  111. }]
  112. }
  113. }
  114. }