@nbakka/mcp-appium 2.0.4 → 2.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/server.js +9 -9
- package/package.json +1 -1
package/lib/server.js
CHANGED
|
@@ -149,16 +149,16 @@ tool("mobile_list_elements_on_screen", "List elements on screen and their coordi
|
|
|
149
149
|
console.log(elements)
|
|
150
150
|
const result = elements.map(element => {
|
|
151
151
|
const out = {
|
|
152
|
-
type: element.type
|
|
153
|
-
text: element.text
|
|
154
|
-
label: element.label
|
|
155
|
-
name: element.name
|
|
156
|
-
value: element.value
|
|
152
|
+
type: element.type,
|
|
153
|
+
text: element.text,
|
|
154
|
+
label: element.label,
|
|
155
|
+
name: element.name,
|
|
156
|
+
value: element.value,
|
|
157
157
|
coordinates: {
|
|
158
|
-
x: element.rect.x
|
|
159
|
-
y: element.rect.y
|
|
160
|
-
width: element.rect.width
|
|
161
|
-
height: element.rect.height
|
|
158
|
+
x: element.rect.x,
|
|
159
|
+
y: element.rect.y,
|
|
160
|
+
width: element.rect.width,
|
|
161
|
+
height: element.rect.height,
|
|
162
162
|
},
|
|
163
163
|
};
|
|
164
164
|
if (element.focused) {
|