Skip to main content
Glama
appium

MCP Appium

Official
by appium

appium_get_page_source

Get current-screen XML. saveToFile=true returns server-local path/bytes and enables selector/pattern summaries.

Instructions

Get current-screen XML. saveToFile=true returns server-local path/bytes and enables selector/pattern summaries.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
patternNoLiteral tag/attribute substring.
selectorNoXPath selecting elements.
sessionIdNoSession ID; defaults to the active session.
saveToFileNoSave fresh XML to a file; return path/bytes instead of XML.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.97.1
    • addedInput schema / properties / pattern
      Added value: +{
      +  "description": "Literal tag/attribute substring.",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / saveToFile
      Added value: +{
      +  "default": false,
      +  "description": "Save fresh XML to a file; return path/bytes instead of XML.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / selector
      Added value: +{
      +  "description": "XPath selecting elements.",
      +  "type": "string"
      +}
  2. Changed1 schema field changedv1.95.0
    • changedInput schema / properties / sessionId / description
      Previous value: -"Session ID to target. If omitted, uses the active session."New value: +"Session ID; defaults to the active session."
  3. First observedv1.92.11

TDQS

Score is being calculated.