@midscene/web 1.10.8-beta-20260724035136.0 → 1.10.8

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.
@@ -12,6 +12,7 @@ export declare const getBridgePageInCliSide: (options?: {
12
12
  }) => ChromeExtensionPageCliSide;
13
13
  export declare class AgentOverChromeBridge extends Agent<ChromeExtensionPageCliSide> {
14
14
  private destroyAfterDisconnectFlag?;
15
+ private enableWaterFlowAnimation;
15
16
  constructor(opts?: AgentOpt & {
16
17
  /**
17
18
  * Enable remote access to the bridge server.
@@ -32,7 +33,14 @@ export declare class AgentOverChromeBridge extends Agent<ChromeExtensionPageCliS
32
33
  closeNewTabsAfterDisconnect?: boolean;
33
34
  serverListeningTimeout?: number | false;
34
35
  closeConflictServer?: boolean;
36
+ /**
37
+ * Show the blue water-flow border and mouse pointer while controlling
38
+ * the page.
39
+ * @default true
40
+ */
41
+ enableWaterFlowAnimation?: boolean;
35
42
  });
43
+ private configureWaterFlowAnimation;
36
44
  setDestroyOptionsAfterConnect(): Promise<void>;
37
45
  connectNewTabWithUrl(url: string, options?: BridgeConnectTabOptions): Promise<void>;
38
46
  getBrowserTabList(): Promise<{
@@ -38,6 +38,12 @@ export interface BridgeConnectTabOptions {
38
38
  * @default 30000 (30 seconds)
39
39
  */
40
40
  timeout?: number;
41
+ /**
42
+ * Whether the blue water-flow animation border and mouse pointer
43
+ * overlay should be shown while controlling the page.
44
+ * @default true
45
+ */
46
+ enableWaterFlowAnimation?: boolean;
41
47
  }
42
48
  export declare enum MouseEvent {
43
49
  PREFIX = "mouse.",
@@ -14,6 +14,7 @@ export default class ChromeExtensionProxyPage implements AbstractInterface {
14
14
  private bridgeFileChooserDispose?;
15
15
  private bridgeFileChooserGetError?;
16
16
  private isMobileEmulation;
17
+ protected waterFlowAnimationEnabled: boolean;
17
18
  _continueWhenFailedToAttachDebugger: boolean;
18
19
  constructor(forceSameTabNavigation: boolean);
19
20
  actionSpace(): DeviceAction[];
@@ -45,6 +46,11 @@ export default class ChromeExtensionProxyPage implements AbstractInterface {
45
46
  detachDebugger(tabId?: number): Promise<void>;
46
47
  private enableWaterFlowAnimation;
47
48
  private disableWaterFlowAnimation;
49
+ setWaterFlowAnimationEnabled(enabled: boolean): Promise<void>;
50
+ /**
51
+ * Returns the current water-flow animation enabled flag.
52
+ */
53
+ getWaterFlowAnimationEnabled(): boolean;
48
54
  /**
49
55
  * Send a command to the debugger with automatic attach and retry on detachment.
50
56
  * Uses lazy attach pattern - will automatically attach if not already attached.
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "Browser use",
9
9
  "Android use"
10
10
  ],
11
- "version": "1.10.8-beta-20260724035136.0",
11
+ "version": "1.10.8",
12
12
  "repository": "https://github.com/web-infra-dev/midscene",
13
13
  "homepage": "https://midscenejs.com/",
14
14
  "main": "./dist/lib/index.js",
@@ -106,9 +106,9 @@
106
106
  "socket.io": "^4.8.1",
107
107
  "socket.io-client": "4.8.1",
108
108
  "ws": "^8.18.1",
109
- "@midscene/core": "1.10.8-beta-20260724035136.0",
110
- "@midscene/playground": "1.10.8-beta-20260724035136.0",
111
- "@midscene/shared": "1.10.8-beta-20260724035136.0"
109
+ "@midscene/core": "1.10.8",
110
+ "@midscene/playground": "1.10.8",
111
+ "@midscene/shared": "1.10.8"
112
112
  },
113
113
  "devDependencies": {
114
114
  "@playwright/test": "^1.45.0",