@nbakka/mcp-appium 3.0.15 → 3.0.18

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.
Files changed (2) hide show
  1. package/lib/server.js +2 -2
  2. package/package.json +1 -1
package/lib/server.js CHANGED
@@ -215,10 +215,10 @@ const createMcpServer = () => {
215
215
  }
216
216
  );
217
217
 
218
- tool("mobile_list_elements_on_screen", "List elements on screen and their coordinates, with display text or accessibility label. Returns the complete XML structure to maintain hierarchy for XPath creation. Do not cache this result.", {}, async ({}) => {
218
+ tool("mobile_list_elements_on_screennn", "List elements on screen and their coordinates, with display text or accessibility label. Returns the complete XML structure to maintain hierarchy for XPath creation. Do not cache this result.", {}, async ({}) => {
219
219
  requireRobot();
220
220
  const xmlStructure = await robot.getElementsOnScreen();
221
- return `Complete XML structure of current screen:\n${xmlStructure}`;
221
+ return `Complete XML structure of current screen: ${JSON.stringify(parsedXml)}`;
222
222
  });
223
223
 
224
224
  tool("mobile_press_button", "Press a button on device", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nbakka/mcp-appium",
3
- "version": "3.0.15",
3
+ "version": "3.0.18",
4
4
  "description": "Appium MCP",
5
5
  "engines": {
6
6
  "node": ">=18"