@midscene/android 0.14.2 → 0.14.3-beta-20250409031306.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/bin/playground +3 -0
- package/dist/es/index.js +4 -0
- package/dist/es/playground.d.ts +2 -0
- package/dist/es/playground.js +852 -0
- package/dist/lib/index.js +4 -0
- package/dist/lib/playground.d.ts +2 -0
- package/dist/lib/playground.js +872 -0
- package/dist/types/playground.d.ts +2 -0
- package/package.json +25 -4
- package/static/index.html +1 -0
- package/static/scripts/htmlElement.js +5 -0
- package/static/scripts/htmlElement.js.LICENSE.txt +12 -0
- package/static/scripts/htmlElementDebug.js +2 -0
- package/static/scripts/htmlElementDebug.js.LICENSE.txt +12 -0
- package/static/scripts/stop-water-flow.js +2 -0
- package/static/scripts/stop-water-flow.js.map +1 -0
- package/static/scripts/water-flow.js +54 -0
- package/static/scripts/water-flow.js.map +1 -0
- package/static/static/css/index.fa8491ca.css +2 -0
- package/static/static/css/index.fa8491ca.css.map +1 -0
- package/static/static/js/792.8ac93205.js +467 -0
- package/static/static/js/792.8ac93205.js.LICENSE.txt +1673 -0
- package/static/static/js/792.8ac93205.js.map +1 -0
- package/static/static/js/async/166.208adb78.js +2 -0
- package/static/static/js/async/166.208adb78.js.map +1 -0
- package/static/static/js/index.906d88a4.js +504 -0
- package/static/static/js/index.906d88a4.js.map +1 -0
- package/static/static/js/lib-polyfill.c3257577.js +2 -0
- package/static/static/js/lib-polyfill.c3257577.js.map +1 -0
- package/static/static/js/lib-react.bac2292c.js +3 -0
- package/static/static/js/lib-react.bac2292c.js.LICENSE.txt +39 -0
- package/static/static/js/lib-react.bac2292c.js.map +1 -0
- package/LICENSE +0 -21
package/dist/lib/index.js
CHANGED
|
@@ -479,6 +479,10 @@ async function agentFromAdbDevice(deviceId, opts) {
|
|
|
479
479
|
if (!deviceId) {
|
|
480
480
|
const devices = await getConnectedDevices();
|
|
481
481
|
deviceId = devices[0].udid;
|
|
482
|
+
debugPage(
|
|
483
|
+
"deviceId not specified, will use the first device (id = %s)",
|
|
484
|
+
deviceId
|
|
485
|
+
);
|
|
482
486
|
}
|
|
483
487
|
const page = new AndroidDevice(deviceId);
|
|
484
488
|
await page.connect();
|