@wdio/mcp 3.2.1 → 3.2.3
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 +10 -3
- package/lib/server.js.map +1 -1
- package/lib/snapshot.js +3 -1
- package/lib/snapshot.js.map +1 -1
- package/package.json +7 -2
package/lib/server.js
CHANGED
|
@@ -46,7 +46,7 @@ var package_default = {
|
|
|
46
46
|
type: "git",
|
|
47
47
|
url: "git://github.com/webdriverio/mcp.git"
|
|
48
48
|
},
|
|
49
|
-
version: "3.2.
|
|
49
|
+
version: "3.2.2",
|
|
50
50
|
description: "MCP server with WebdriverIO for browser and mobile app automation (iOS/Android via Appium)",
|
|
51
51
|
main: "./lib/server.js",
|
|
52
52
|
module: "./lib/server.js",
|
|
@@ -111,7 +111,12 @@ var package_default = {
|
|
|
111
111
|
typescript: "~5.9.3",
|
|
112
112
|
vitest: "^4.1.2"
|
|
113
113
|
},
|
|
114
|
-
packageManager: "pnpm@10.32.1"
|
|
114
|
+
packageManager: "pnpm@10.32.1",
|
|
115
|
+
pnpm: {
|
|
116
|
+
overrides: {
|
|
117
|
+
"release-it>undici": "^6.24.0"
|
|
118
|
+
}
|
|
119
|
+
}
|
|
115
120
|
};
|
|
116
121
|
|
|
117
122
|
// src/server.ts
|
|
@@ -1200,7 +1205,9 @@ function shouldIncludeElement(element, filters, isNative, automationName) {
|
|
|
1200
1205
|
visibleOnly = true
|
|
1201
1206
|
} = filters;
|
|
1202
1207
|
if (!matchesTagFilters(element, includeTagNames, excludeTagNames)) {
|
|
1203
|
-
|
|
1208
|
+
if (element.attributes?.clickable !== "true") {
|
|
1209
|
+
return false;
|
|
1210
|
+
}
|
|
1204
1211
|
}
|
|
1205
1212
|
if (!matchesAttributeFilters(element, requireAttributes, minAttributeCount)) {
|
|
1206
1213
|
return false;
|