@nbakka/mcp-appium 3.0.16 → 3.0.19
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 +1 -1
- package/package.json +1 -1
package/lib/server.js
CHANGED
|
@@ -218,7 +218,7 @@ const createMcpServer = () => {
|
|
|
218
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
|
|
221
|
+
return `Complete XML structure of current screen: ${JSON.stringify(xmlStructure)}`;
|
|
222
222
|
});
|
|
223
223
|
|
|
224
224
|
tool("mobile_press_button", "Press a button on device", {
|