@midscene/android 0.29.0 → 0.29.2-beta-20250924120255.0
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/dist/es/index.mjs +0 -9
- package/dist/lib/index.js +0 -9
- package/dist/types/index.d.ts +0 -3
- package/package.json +7 -5
package/dist/es/index.mjs
CHANGED
|
@@ -843,15 +843,6 @@ ${Object.keys(size).filter((key)=>size[key]).map((key)=>` ${key} size: ${size[k
|
|
|
843
843
|
await this.pullDrag(start, end, duration);
|
|
844
844
|
await sleep(100);
|
|
845
845
|
}
|
|
846
|
-
async getXpathsById() {
|
|
847
|
-
throw new Error('Not implemented');
|
|
848
|
-
}
|
|
849
|
-
async getXpathsByPoint() {
|
|
850
|
-
throw new Error('Not implemented');
|
|
851
|
-
}
|
|
852
|
-
async getElementInfoByXpath() {
|
|
853
|
-
throw new Error('Not implemented');
|
|
854
|
-
}
|
|
855
846
|
getDisplayArg() {
|
|
856
847
|
var _this_options;
|
|
857
848
|
return 'number' == typeof (null == (_this_options = this.options) ? void 0 : _this_options.displayId) ? ` -d ${this.options.displayId}` : '';
|
package/dist/lib/index.js
CHANGED
|
@@ -889,15 +889,6 @@ ${Object.keys(size).filter((key)=>size[key]).map((key)=>` ${key} size: ${size[k
|
|
|
889
889
|
await this.pullDrag(start, end, duration);
|
|
890
890
|
await (0, utils_namespaceObject.sleep)(100);
|
|
891
891
|
}
|
|
892
|
-
async getXpathsById() {
|
|
893
|
-
throw new Error('Not implemented');
|
|
894
|
-
}
|
|
895
|
-
async getXpathsByPoint() {
|
|
896
|
-
throw new Error('Not implemented');
|
|
897
|
-
}
|
|
898
|
-
async getElementInfoByXpath() {
|
|
899
|
-
throw new Error('Not implemented');
|
|
900
|
-
}
|
|
901
892
|
getDisplayArg() {
|
|
902
893
|
var _this_options;
|
|
903
894
|
return 'number' == typeof (null == (_this_options = this.options) ? void 0 : _this_options.displayId) ? ` -d ${this.options.displayId}` : '';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -104,9 +104,6 @@ export declare class AndroidDevice implements AbstractInterface {
|
|
|
104
104
|
y: number;
|
|
105
105
|
}, duration: number): Promise<void>;
|
|
106
106
|
pullUp(startPoint?: Point, distance?: number, duration?: number): Promise<void>;
|
|
107
|
-
getXpathsById(): Promise<string[]>;
|
|
108
|
-
getXpathsByPoint(): Promise<string[]>;
|
|
109
|
-
getElementInfoByXpath(): Promise<ElementInfo>;
|
|
110
107
|
private getDisplayArg;
|
|
111
108
|
getPhysicalDisplayId(): Promise<string | null>;
|
|
112
109
|
hideKeyboard(options?: AndroidDeviceInputOpt, timeoutMs?: number): Promise<boolean>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midscene/android",
|
|
3
|
-
"version": "0.29.0",
|
|
3
|
+
"version": "0.29.2-beta-20250924120255.0",
|
|
4
4
|
"description": "Android automation library for Midscene",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Android UI automation",
|
|
@@ -27,22 +27,24 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"appium-adb": "12.12.1",
|
|
30
|
-
"@midscene/core": "0.29.0",
|
|
31
|
-
"@midscene/shared": "0.29.0"
|
|
30
|
+
"@midscene/core": "0.29.2-beta-20250924120255.0",
|
|
31
|
+
"@midscene/shared": "0.29.2-beta-20250924120255.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@microsoft/api-extractor": "^7.52.10",
|
|
35
34
|
"@rslib/core": "^0.11.2",
|
|
36
35
|
"@types/node": "^18.0.0",
|
|
37
36
|
"dotenv": "^16.4.5",
|
|
38
37
|
"typescript": "^5.8.3",
|
|
39
|
-
"
|
|
38
|
+
"tsx": "^4.19.2",
|
|
39
|
+
"vitest": "3.0.5",
|
|
40
|
+
"@midscene/playground": "0.29.2-beta-20250924120255.0"
|
|
40
41
|
},
|
|
41
42
|
"license": "MIT",
|
|
42
43
|
"scripts": {
|
|
43
44
|
"dev": "npm run build:watch",
|
|
44
45
|
"build": "rslib build",
|
|
45
46
|
"build:watch": "rslib build --watch",
|
|
47
|
+
"playground": "DEBUG=midscene:* tsx demo/playground.ts",
|
|
46
48
|
"test": "vitest --run",
|
|
47
49
|
"test:u": "vitest --run -u",
|
|
48
50
|
"test:ai": "AI_TEST_TYPE=android npm run test",
|