@midscene/cli 1.5.7-beta-20260323111729.0 → 1.5.7

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/lib/index.js CHANGED
@@ -3015,7 +3015,9 @@ var __webpack_modules__ = {
3015
3015
  var external_node_path_default = /*#__PURE__*/ __webpack_require__.n(external_node_path_namespaceObject);
3016
3016
  var main = __webpack_require__("../../node_modules/.pnpm/dotenv@16.4.5/node_modules/dotenv/lib/main.js");
3017
3017
  var main_default = /*#__PURE__*/ __webpack_require__.n(main);
3018
- var package_namespaceObject = JSON.parse('{"rE":"1.5.7-beta-20260323111729.0"}');
3018
+ var package_namespaceObject = {
3019
+ rE: "1.5.7"
3020
+ };
3019
3021
  const yaml_namespaceObject = require("@midscene/core/yaml");
3020
3022
  const common_namespaceObject = require("@midscene/shared/common");
3021
3023
  const puppeteer_agent_launcher_namespaceObject = require("@midscene/web/puppeteer-agent-launcher");
@@ -3225,6 +3227,7 @@ var __webpack_modules__ = {
3225
3227
  if (webTarget.userAgent || null != webTarget.viewportWidth || null != webTarget.viewportHeight || null != webTarget.deviceScaleFactor || webTarget.waitForNetworkIdle || webTarget.cookie || webTarget.chromeArgs) console.warn('puppeteer options (userAgent, viewportWidth, viewportHeight, deviceScaleFactor, waitForNetworkIdle, cookie, chromeArgs) are not supported in bridge mode. They will be ignored.');
3226
3228
  const agent = new bridge_mode_namespaceObject.AgentOverChromeBridge({
3227
3229
  closeNewTabsAfterDisconnect: webTarget.closeNewTabsAfterDisconnect,
3230
+ closeConflictServer: true,
3228
3231
  ...buildAgentOptions(clonedYamlScript.agent, preference.testId, fileName)
3229
3232
  });
3230
3233
  if ('newTabWithUrl' === webTarget.bridgeMode) await agent.connectNewTabWithUrl(webTarget.url);
@@ -11937,7 +11940,7 @@ Usage:
11937
11940
  type: 'boolean',
11938
11941
  description: `Turn on logging to help debug why certain keys or values are not being set as you expect, default is ${config_factory_defaultConfig.dotenvDebug}`
11939
11942
  }
11940
- }).version('version', 'Show version number', "1.5.7-beta-20260323111729.0").help().epilogue(`For complete list of configuration options, please visit:
11943
+ }).version('version', 'Show version number', "1.5.7").help().epilogue(`For complete list of configuration options, please visit:
11941
11944
  • Web options: https://midscenejs.com/automate-with-scripts-in-yaml#the-web-part
11942
11945
  • Android options: https://midscenejs.com/automate-with-scripts-in-yaml#the-android-part
11943
11946
  • iOS options: https://midscenejs.com/automate-with-scripts-in-yaml#the-ios-part