@nbakka/mcp-appium 3.0.24 → 3.0.26
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/android.js +7 -3
- package/lib/ios.js +4 -0
- package/lib/server.js +1369 -1344
- package/lib/webdriver-agent.js +4 -0
- package/package.json +1 -1
package/lib/webdriver-agent.js
CHANGED
|
@@ -159,6 +159,10 @@ class WebDriverAgent {
|
|
|
159
159
|
const json = await response.json();
|
|
160
160
|
return json;
|
|
161
161
|
}
|
|
162
|
+
async getXmlStructure() {
|
|
163
|
+
const source = await this.getPageSource();
|
|
164
|
+
return source;
|
|
165
|
+
}
|
|
162
166
|
async getElementsOnScreen() {
|
|
163
167
|
const source = await this.getPageSource();
|
|
164
168
|
return this.filterSourceElements(source.value);
|