@midscene/web 0.11.2 → 0.11.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/dist/es/appium.js +1 -0
- package/dist/es/bridge-mode-browser.js +3 -3
- package/dist/es/bridge-mode.js +3 -2
- package/dist/es/chrome-extension.js +2 -1
- package/dist/es/index.js +1 -0
- package/dist/es/midscene-playground.js +1 -0
- package/dist/es/playground.js +1 -0
- package/dist/es/playwright-report.js +4 -0
- package/dist/es/playwright.js +1 -0
- package/dist/es/puppeteer.js +1 -0
- package/dist/lib/appium.js +1 -0
- package/dist/lib/bridge-mode-browser.js +3 -3
- package/dist/lib/bridge-mode.js +3 -2
- package/dist/lib/chrome-extension.js +2 -1
- package/dist/lib/index.js +1 -0
- package/dist/lib/midscene-playground.js +1 -0
- package/dist/lib/playground.js +1 -0
- package/dist/lib/playwright-report.js +4 -0
- package/dist/lib/playwright.js +1 -0
- package/dist/lib/puppeteer.js +1 -0
- package/dist/types/{agent-ac363fa3.d.ts → agent-ae110e80.d.ts} +3 -3
- package/dist/types/appium.d.ts +3 -3
- package/dist/types/bridge-mode-browser.d.ts +3 -3
- package/dist/types/bridge-mode.d.ts +4 -4
- package/dist/types/{browser-eae1a5c1.d.ts → browser-9d620553.d.ts} +1 -1
- package/dist/types/chrome-extension.d.ts +4 -4
- package/dist/types/index.d.ts +4 -4
- package/dist/types/{page-cf0f892e.d.ts → page-97720803.d.ts} +2 -2
- package/dist/types/playground.d.ts +4 -4
- package/dist/types/playwright.d.ts +3 -3
- package/dist/types/puppeteer.d.ts +3 -3
- package/dist/types/{utils-9a29bfa0.d.ts → utils-93b3f5f3.d.ts} +1 -1
- package/dist/types/utils.d.ts +2 -2
- package/dist/types/yaml.d.ts +4 -4
- package/package.json +3 -3
package/dist/es/appium.js
CHANGED
|
@@ -291,7 +291,7 @@ function sleep(ms) {
|
|
|
291
291
|
var ChromeExtensionProxyPage = class {
|
|
292
292
|
constructor(forceSameTabNavigation) {
|
|
293
293
|
this.pageType = "chrome-extension-proxy";
|
|
294
|
-
this.version = "0.11.
|
|
294
|
+
this.version = "0.11.3";
|
|
295
295
|
this.activeTabId = null;
|
|
296
296
|
this.tabIdOfDebuggerAttached = null;
|
|
297
297
|
this.attachingDebugger = null;
|
|
@@ -690,7 +690,7 @@ var BridgeClient = class {
|
|
|
690
690
|
this.socket = (0, import_socket.io)(this.endpoint, {
|
|
691
691
|
reconnection: false,
|
|
692
692
|
query: {
|
|
693
|
-
version: "0.11.
|
|
693
|
+
version: "0.11.3"
|
|
694
694
|
}
|
|
695
695
|
});
|
|
696
696
|
const timeout = setTimeout(() => {
|
|
@@ -812,7 +812,7 @@ var ChromeExtensionPageBrowserSide = class extends ChromeExtensionProxyPage {
|
|
|
812
812
|
);
|
|
813
813
|
await this.bridgeClient.connect();
|
|
814
814
|
this.onLogMessage(
|
|
815
|
-
`Bridge connected, cli-side version v${this.bridgeClient.serverVersion}, browser-side version v${"0.11.
|
|
815
|
+
`Bridge connected, cli-side version v${this.bridgeClient.serverVersion}, browser-side version v${"0.11.3"}`,
|
|
816
816
|
"log"
|
|
817
817
|
);
|
|
818
818
|
}
|
package/dist/es/bridge-mode.js
CHANGED
|
@@ -3585,6 +3585,7 @@ var PageTaskExecutor = class {
|
|
|
3585
3585
|
output: {
|
|
3586
3586
|
element
|
|
3587
3587
|
},
|
|
3588
|
+
pageContext,
|
|
3588
3589
|
log: {
|
|
3589
3590
|
dump: insightDump
|
|
3590
3591
|
},
|
|
@@ -4637,7 +4638,7 @@ var BridgeServer = class {
|
|
|
4637
4638
|
this.socket = socket;
|
|
4638
4639
|
const clientVersion = socket.handshake.query.version;
|
|
4639
4640
|
console.log(
|
|
4640
|
-
`Bridge connected, cli-side version v${"0.11.
|
|
4641
|
+
`Bridge connected, cli-side version v${"0.11.3"}, browser-side version v${clientVersion}`
|
|
4641
4642
|
);
|
|
4642
4643
|
socket.on("bridge-call-response" /* CallResponse */, (params) => {
|
|
4643
4644
|
const id = params.id;
|
|
@@ -4670,7 +4671,7 @@ var BridgeServer = class {
|
|
|
4670
4671
|
var _a;
|
|
4671
4672
|
(_a = this.onConnect) == null ? void 0 : _a.call(this);
|
|
4672
4673
|
const payload = {
|
|
4673
|
-
version: "0.11.
|
|
4674
|
+
version: "0.11.3"
|
|
4674
4675
|
};
|
|
4675
4676
|
socket.emit("bridge-connected" /* Connected */, payload);
|
|
4676
4677
|
Promise.resolve().then(() => {
|
|
@@ -3740,6 +3740,7 @@ var PageTaskExecutor = class {
|
|
|
3740
3740
|
output: {
|
|
3741
3741
|
element
|
|
3742
3742
|
},
|
|
3743
|
+
pageContext,
|
|
3743
3744
|
log: {
|
|
3744
3745
|
dump: insightDump
|
|
3745
3746
|
},
|
|
@@ -4833,7 +4834,7 @@ function sleep3(ms) {
|
|
|
4833
4834
|
var ChromeExtensionProxyPage = class {
|
|
4834
4835
|
constructor(forceSameTabNavigation) {
|
|
4835
4836
|
this.pageType = "chrome-extension-proxy";
|
|
4836
|
-
this.version = "0.11.
|
|
4837
|
+
this.version = "0.11.3";
|
|
4837
4838
|
this.activeTabId = null;
|
|
4838
4839
|
this.tabIdOfDebuggerAttached = null;
|
|
4839
4840
|
this.attachingDebugger = null;
|
package/dist/es/index.js
CHANGED
package/dist/es/playground.js
CHANGED
|
@@ -383,11 +383,15 @@ var MidsceneReporter = class {
|
|
|
383
383
|
testDataList.push({
|
|
384
384
|
dumpString: dumpAnnotation.description,
|
|
385
385
|
attributes: {
|
|
386
|
+
playwright_test_id: test.id,
|
|
386
387
|
playwright_test_title: test.title,
|
|
387
388
|
playwright_test_status: result.status,
|
|
388
389
|
playwright_test_duration: result.duration
|
|
389
390
|
}
|
|
390
391
|
});
|
|
392
|
+
test.annotations = test.annotations.filter(
|
|
393
|
+
(annotation) => annotation.type !== "MIDSCENE_DUMP_ANNOTATION"
|
|
394
|
+
);
|
|
391
395
|
updateReport();
|
|
392
396
|
}
|
|
393
397
|
onEnd(result) {
|
package/dist/es/playwright.js
CHANGED
package/dist/es/puppeteer.js
CHANGED
package/dist/lib/appium.js
CHANGED
|
@@ -291,7 +291,7 @@ function sleep(ms) {
|
|
|
291
291
|
var ChromeExtensionProxyPage = class {
|
|
292
292
|
constructor(forceSameTabNavigation) {
|
|
293
293
|
this.pageType = "chrome-extension-proxy";
|
|
294
|
-
this.version = "0.11.
|
|
294
|
+
this.version = "0.11.3";
|
|
295
295
|
this.activeTabId = null;
|
|
296
296
|
this.tabIdOfDebuggerAttached = null;
|
|
297
297
|
this.attachingDebugger = null;
|
|
@@ -690,7 +690,7 @@ var BridgeClient = class {
|
|
|
690
690
|
this.socket = (0, import_socket.io)(this.endpoint, {
|
|
691
691
|
reconnection: false,
|
|
692
692
|
query: {
|
|
693
|
-
version: "0.11.
|
|
693
|
+
version: "0.11.3"
|
|
694
694
|
}
|
|
695
695
|
});
|
|
696
696
|
const timeout = setTimeout(() => {
|
|
@@ -812,7 +812,7 @@ var ChromeExtensionPageBrowserSide = class extends ChromeExtensionProxyPage {
|
|
|
812
812
|
);
|
|
813
813
|
await this.bridgeClient.connect();
|
|
814
814
|
this.onLogMessage(
|
|
815
|
-
`Bridge connected, cli-side version v${this.bridgeClient.serverVersion}, browser-side version v${"0.11.
|
|
815
|
+
`Bridge connected, cli-side version v${this.bridgeClient.serverVersion}, browser-side version v${"0.11.3"}`,
|
|
816
816
|
"log"
|
|
817
817
|
);
|
|
818
818
|
}
|
package/dist/lib/bridge-mode.js
CHANGED
|
@@ -3585,6 +3585,7 @@ var PageTaskExecutor = class {
|
|
|
3585
3585
|
output: {
|
|
3586
3586
|
element
|
|
3587
3587
|
},
|
|
3588
|
+
pageContext,
|
|
3588
3589
|
log: {
|
|
3589
3590
|
dump: insightDump
|
|
3590
3591
|
},
|
|
@@ -4637,7 +4638,7 @@ var BridgeServer = class {
|
|
|
4637
4638
|
this.socket = socket;
|
|
4638
4639
|
const clientVersion = socket.handshake.query.version;
|
|
4639
4640
|
console.log(
|
|
4640
|
-
`Bridge connected, cli-side version v${"0.11.
|
|
4641
|
+
`Bridge connected, cli-side version v${"0.11.3"}, browser-side version v${clientVersion}`
|
|
4641
4642
|
);
|
|
4642
4643
|
socket.on("bridge-call-response" /* CallResponse */, (params) => {
|
|
4643
4644
|
const id = params.id;
|
|
@@ -4670,7 +4671,7 @@ var BridgeServer = class {
|
|
|
4670
4671
|
var _a;
|
|
4671
4672
|
(_a = this.onConnect) == null ? void 0 : _a.call(this);
|
|
4672
4673
|
const payload = {
|
|
4673
|
-
version: "0.11.
|
|
4674
|
+
version: "0.11.3"
|
|
4674
4675
|
};
|
|
4675
4676
|
socket.emit("bridge-connected" /* Connected */, payload);
|
|
4676
4677
|
Promise.resolve().then(() => {
|
|
@@ -3740,6 +3740,7 @@ var PageTaskExecutor = class {
|
|
|
3740
3740
|
output: {
|
|
3741
3741
|
element
|
|
3742
3742
|
},
|
|
3743
|
+
pageContext,
|
|
3743
3744
|
log: {
|
|
3744
3745
|
dump: insightDump
|
|
3745
3746
|
},
|
|
@@ -4833,7 +4834,7 @@ function sleep3(ms) {
|
|
|
4833
4834
|
var ChromeExtensionProxyPage = class {
|
|
4834
4835
|
constructor(forceSameTabNavigation) {
|
|
4835
4836
|
this.pageType = "chrome-extension-proxy";
|
|
4836
|
-
this.version = "0.11.
|
|
4837
|
+
this.version = "0.11.3";
|
|
4837
4838
|
this.activeTabId = null;
|
|
4838
4839
|
this.tabIdOfDebuggerAttached = null;
|
|
4839
4840
|
this.attachingDebugger = null;
|
package/dist/lib/index.js
CHANGED
package/dist/lib/playground.js
CHANGED
|
@@ -383,11 +383,15 @@ var MidsceneReporter = class {
|
|
|
383
383
|
testDataList.push({
|
|
384
384
|
dumpString: dumpAnnotation.description,
|
|
385
385
|
attributes: {
|
|
386
|
+
playwright_test_id: test.id,
|
|
386
387
|
playwright_test_title: test.title,
|
|
387
388
|
playwright_test_status: result.status,
|
|
388
389
|
playwright_test_duration: result.duration
|
|
389
390
|
}
|
|
390
391
|
});
|
|
392
|
+
test.annotations = test.annotations.filter(
|
|
393
|
+
(annotation) => annotation.type !== "MIDSCENE_DUMP_ANNOTATION"
|
|
394
|
+
);
|
|
391
395
|
updateReport();
|
|
392
396
|
}
|
|
393
397
|
onEnd(result) {
|
package/dist/lib/playwright.js
CHANGED
package/dist/lib/puppeteer.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { c as WebUIContext, W as WebPage, d as WebElementInfo } from './page-
|
|
1
|
+
import * as _midscene_core_dist_lib_types_types_95b0888e from '@midscene/core/dist/lib/types/types-95b0888e';
|
|
2
|
+
import { c as WebUIContext, W as WebPage, d as WebElementInfo } from './page-97720803.js';
|
|
3
3
|
import { PlanningAIResponse, AIElementIdResponse, Insight, ExecutionTaskProgressOptions, Executor, InsightExtractParam, InsightAssertionResponse, PlanningActionParamWaitFor, OnTaskStartTip, GroupedActionDump, InsightAction, ExecutionDump, AgentAssertOpt, AgentWaitForOpt } from '@midscene/core';
|
|
4
4
|
import { vlmPlanning, ChatCompletionMessageParam } from '@midscene/core/ai-model';
|
|
5
5
|
import { getRunningPkgInfo } from '@midscene/shared/fs';
|
|
@@ -163,7 +163,7 @@ declare class PageAgent<PageType extends WebPage = WebPage> {
|
|
|
163
163
|
private callbackOnTaskStartTip;
|
|
164
164
|
aiAction(taskPrompt: string): Promise<void>;
|
|
165
165
|
aiQuery(demand: any): Promise<any>;
|
|
166
|
-
aiAssert(assertion: string, msg?: string, opt?: AgentAssertOpt): Promise<
|
|
166
|
+
aiAssert(assertion: string, msg?: string, opt?: AgentAssertOpt): Promise<_midscene_core_dist_lib_types_types_95b0888e.o | undefined>;
|
|
167
167
|
aiWaitFor(assertion: string, opt?: AgentWaitForOpt): Promise<void>;
|
|
168
168
|
ai(taskPrompt: string, type?: string): Promise<any>;
|
|
169
169
|
runYaml(yamlScriptContent: string): Promise<{
|
package/dist/types/appium.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { P as AppiumAgent } from './agent-
|
|
2
|
-
export { P as AppiumPage } from './page-
|
|
3
|
-
import '@midscene/core/dist/lib/types/types-
|
|
1
|
+
export { P as AppiumAgent } from './agent-ae110e80.js';
|
|
2
|
+
export { P as AppiumPage } from './page-97720803.js';
|
|
3
|
+
import '@midscene/core/dist/lib/types/types-95b0888e';
|
|
4
4
|
import '@midscene/core';
|
|
5
5
|
import '@midscene/core/ai-model';
|
|
6
6
|
import '@midscene/shared/fs';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { C as ChromeExtensionPageBrowserSide } from './browser-
|
|
2
|
-
import './page-
|
|
1
|
+
export { C as ChromeExtensionPageBrowserSide } from './browser-9d620553.js';
|
|
2
|
+
import './page-97720803.js';
|
|
3
3
|
import 'playwright';
|
|
4
4
|
import '@midscene/core';
|
|
5
5
|
import '@midscene/shared/extractor';
|
|
6
6
|
import 'puppeteer';
|
|
7
7
|
import '@midscene/shared/constants';
|
|
8
|
-
import '@midscene/core/dist/lib/types/types-
|
|
8
|
+
import '@midscene/core/dist/lib/types/types-95b0888e';
|
|
9
9
|
import 'webdriverio';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { P as PageAgent, a as PageAgentOpt } from './agent-
|
|
2
|
-
import { B as BridgeConnectTabOptions, C as ChromeExtensionPageBrowserSide } from './browser-
|
|
1
|
+
import { P as PageAgent, a as PageAgentOpt } from './agent-ae110e80.js';
|
|
2
|
+
import { B as BridgeConnectTabOptions, C as ChromeExtensionPageBrowserSide } from './browser-9d620553.js';
|
|
3
3
|
export { overrideAIConfig } from '@midscene/core/env';
|
|
4
|
-
import '@midscene/core/dist/lib/types/types-
|
|
5
|
-
import './page-
|
|
4
|
+
import '@midscene/core/dist/lib/types/types-95b0888e';
|
|
5
|
+
import './page-97720803.js';
|
|
6
6
|
import 'playwright';
|
|
7
7
|
import '@midscene/core';
|
|
8
8
|
import '@midscene/shared/extractor';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { C as ChromeExtensionProxyPage } from './page-
|
|
2
|
-
export { E as ERROR_CODE_NOT_IMPLEMENTED_AS_DESIGNED } from './page-
|
|
3
|
-
import { P as PageAgent } from './agent-
|
|
1
|
+
import { C as ChromeExtensionProxyPage } from './page-97720803.js';
|
|
2
|
+
export { E as ERROR_CODE_NOT_IMPLEMENTED_AS_DESIGNED } from './page-97720803.js';
|
|
3
|
+
import { P as PageAgent } from './agent-ae110e80.js';
|
|
4
4
|
import 'playwright';
|
|
5
5
|
import '@midscene/core';
|
|
6
6
|
import '@midscene/shared/extractor';
|
|
7
7
|
import 'puppeteer';
|
|
8
8
|
import '@midscene/shared/constants';
|
|
9
|
-
import '@midscene/core/dist/lib/types/types-
|
|
9
|
+
import '@midscene/core/dist/lib/types/types-95b0888e';
|
|
10
10
|
import 'webdriverio';
|
|
11
11
|
import '@midscene/core/ai-model';
|
|
12
12
|
import '@midscene/shared/fs';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export { PlayWrightAiFixtureType, PlaywrightAgent, PlaywrightAiFixture } from './playwright.js';
|
|
2
|
-
export { P as AppiumPage, W as WebPage } from './page-
|
|
2
|
+
export { P as AppiumPage, W as WebPage } from './page-97720803.js';
|
|
3
3
|
export { PuppeteerAgent } from './puppeteer.js';
|
|
4
|
-
export { P as AppiumAgent } from './agent-
|
|
4
|
+
export { P as AppiumAgent } from './agent-ae110e80.js';
|
|
5
5
|
export { StaticPageAgent } from './playground.js';
|
|
6
|
-
export { S as ScriptPlayer, f as flowItemBrief, p as parseYamlScript } from './utils-
|
|
6
|
+
export { S as ScriptPlayer, f as flowItemBrief, p as parseYamlScript } from './utils-93b3f5f3.js';
|
|
7
7
|
import 'playwright';
|
|
8
8
|
import '@midscene/core';
|
|
9
9
|
import '@playwright/test';
|
|
@@ -11,7 +11,7 @@ import '@midscene/core/env';
|
|
|
11
11
|
import '@midscene/shared/extractor';
|
|
12
12
|
import 'puppeteer';
|
|
13
13
|
import '@midscene/shared/constants';
|
|
14
|
-
import '@midscene/core/dist/lib/types/types-
|
|
14
|
+
import '@midscene/core/dist/lib/types/types-95b0888e';
|
|
15
15
|
import 'webdriverio';
|
|
16
16
|
import '@midscene/core/ai-model';
|
|
17
17
|
import '@midscene/shared/fs';
|
|
@@ -3,7 +3,7 @@ import { BaseElement, Rect, UIContext, PlaywrightParserOpt, Size, Point, Element
|
|
|
3
3
|
import { ElementInfo, ElementNode } from '@midscene/shared/extractor';
|
|
4
4
|
import { KeyInput, Page as Page$2 } from 'puppeteer';
|
|
5
5
|
import { NodeType } from '@midscene/shared/constants';
|
|
6
|
-
import * as
|
|
6
|
+
import * as _midscene_core_dist_lib_types_types_95b0888e from '@midscene/core/dist/lib/types/types-95b0888e';
|
|
7
7
|
import { Browser } from 'webdriverio';
|
|
8
8
|
|
|
9
9
|
declare class WebElementInfo implements BaseElement {
|
|
@@ -214,7 +214,7 @@ declare class StaticPage implements AbstractPage {
|
|
|
214
214
|
constructor(uiContext: WebUIContext);
|
|
215
215
|
getElementsInfo(): Promise<any>;
|
|
216
216
|
getElementsNodeTree(): Promise<any>;
|
|
217
|
-
size(): Promise<
|
|
217
|
+
size(): Promise<_midscene_core_dist_lib_types_types_95b0888e.S>;
|
|
218
218
|
screenshotBase64(): Promise<string>;
|
|
219
219
|
url(): Promise<string>;
|
|
220
220
|
scrollUntilTop(startingPoint?: Point): Promise<any>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { S as StaticPage } from './page-
|
|
2
|
-
export { E as ERROR_CODE_NOT_IMPLEMENTED_AS_DESIGNED } from './page-
|
|
3
|
-
import { P as PageAgent } from './agent-
|
|
1
|
+
import { S as StaticPage } from './page-97720803.js';
|
|
2
|
+
export { E as ERROR_CODE_NOT_IMPLEMENTED_AS_DESIGNED } from './page-97720803.js';
|
|
3
|
+
import { P as PageAgent } from './agent-ae110e80.js';
|
|
4
4
|
import 'playwright';
|
|
5
5
|
import '@midscene/core';
|
|
6
6
|
import '@midscene/shared/extractor';
|
|
7
7
|
import 'puppeteer';
|
|
8
8
|
import '@midscene/shared/constants';
|
|
9
|
-
import '@midscene/core/dist/lib/types/types-
|
|
9
|
+
import '@midscene/core/dist/lib/types/types-95b0888e';
|
|
10
10
|
import 'webdriverio';
|
|
11
11
|
import '@midscene/core/ai-model';
|
|
12
12
|
import '@midscene/shared/fs';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { b as PageTaskExecutor, P as PageAgent, a as PageAgentOpt } from './agent-
|
|
1
|
+
import { b as PageTaskExecutor, P as PageAgent, a as PageAgentOpt } from './agent-ae110e80.js';
|
|
2
2
|
import { Page } from 'playwright';
|
|
3
3
|
import { AgentWaitForOpt } from '@midscene/core';
|
|
4
4
|
import { TestInfo } from '@playwright/test';
|
|
5
5
|
export { overrideAIConfig } from '@midscene/core/env';
|
|
6
|
-
export { b as PlaywrightWebPage } from './page-
|
|
7
|
-
import '@midscene/core/dist/lib/types/types-
|
|
6
|
+
export { b as PlaywrightWebPage } from './page-97720803.js';
|
|
7
|
+
import '@midscene/core/dist/lib/types/types-95b0888e';
|
|
8
8
|
import '@midscene/core/ai-model';
|
|
9
9
|
import '@midscene/shared/fs';
|
|
10
10
|
import '@midscene/shared/extractor';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { P as PageAgent, a as PageAgentOpt } from './agent-
|
|
1
|
+
import { P as PageAgent, a as PageAgentOpt } from './agent-ae110e80.js';
|
|
2
2
|
import { Page } from 'puppeteer';
|
|
3
|
-
export { a as PuppeteerWebPage } from './page-
|
|
3
|
+
export { a as PuppeteerWebPage } from './page-97720803.js';
|
|
4
4
|
export { overrideAIConfig } from '@midscene/core/env';
|
|
5
5
|
import { MidsceneYamlScriptEnv } from '@midscene/core';
|
|
6
|
-
import '@midscene/core/dist/lib/types/types-
|
|
6
|
+
import '@midscene/core/dist/lib/types/types-95b0888e';
|
|
7
7
|
import '@midscene/core/ai-model';
|
|
8
8
|
import '@midscene/shared/fs';
|
|
9
9
|
import 'playwright';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PageAgent } from './agent-
|
|
1
|
+
import { P as PageAgent } from './agent-ae110e80.js';
|
|
2
2
|
import { ScriptPlayerTaskStatus, ScriptPlayerStatusValue, MidsceneYamlScript, MidsceneYamlScriptEnv, FreeFn, MidsceneYamlFlowItem } from '@midscene/core';
|
|
3
3
|
|
|
4
4
|
declare class ScriptPlayer {
|
package/dist/types/utils.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import '@midscene/core';
|
|
2
|
-
export { E as ERROR_CODE_NOT_IMPLEMENTED_AS_DESIGNED, c as WebUIContext, h as generateCacheId, f as getCurrentExecutionFile, g as getExtraReturnLogic, p as parseContextFromWebPage, e as printReportMsg, r as reportFileName } from './page-
|
|
2
|
+
export { E as ERROR_CODE_NOT_IMPLEMENTED_AS_DESIGNED, c as WebUIContext, h as generateCacheId, f as getCurrentExecutionFile, g as getExtraReturnLogic, p as parseContextFromWebPage, e as printReportMsg, r as reportFileName } from './page-97720803.js';
|
|
3
3
|
import 'playwright';
|
|
4
4
|
import '@midscene/shared/extractor';
|
|
5
5
|
import 'puppeteer';
|
|
6
6
|
import '@midscene/shared/constants';
|
|
7
|
-
import '@midscene/core/dist/lib/types/types-
|
|
7
|
+
import '@midscene/core/dist/lib/types/types-95b0888e';
|
|
8
8
|
import 'webdriverio';
|
package/dist/types/yaml.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { S as ScriptPlayer, f as flowItemBrief, p as parseYamlScript } from './utils-
|
|
1
|
+
export { S as ScriptPlayer, f as flowItemBrief, p as parseYamlScript } from './utils-93b3f5f3.js';
|
|
2
2
|
import { MidsceneYamlScriptEnv, MidsceneYamlTask } from '@midscene/core';
|
|
3
|
-
import './agent-
|
|
4
|
-
import '@midscene/core/dist/lib/types/types-
|
|
5
|
-
import './page-
|
|
3
|
+
import './agent-ae110e80.js';
|
|
4
|
+
import '@midscene/core/dist/lib/types/types-95b0888e';
|
|
5
|
+
import './page-97720803.js';
|
|
6
6
|
import 'playwright';
|
|
7
7
|
import '@midscene/shared/extractor';
|
|
8
8
|
import 'puppeteer';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midscene/web",
|
|
3
3
|
"description": "Automate browser actions, extract data, and perform assertions using AI. It offers JavaScript SDK, Chrome extension, and support for scripting in YAML. See https://midscenejs.com/ for details.",
|
|
4
|
-
"version": "0.11.
|
|
4
|
+
"version": "0.11.3",
|
|
5
5
|
"repository": "https://github.com/web-infra-dev/midscene",
|
|
6
6
|
"homepage": "https://midscenejs.com/",
|
|
7
7
|
"jsnext:source": "./src/index.ts",
|
|
@@ -133,8 +133,8 @@
|
|
|
133
133
|
"openai": "4.81.0",
|
|
134
134
|
"socket.io": "4.8.1",
|
|
135
135
|
"socket.io-client": "4.8.1",
|
|
136
|
-
"@midscene/core": "0.11.
|
|
137
|
-
"@midscene/shared": "0.11.
|
|
136
|
+
"@midscene/core": "0.11.3",
|
|
137
|
+
"@midscene/shared": "0.11.3"
|
|
138
138
|
},
|
|
139
139
|
"devDependencies": {
|
|
140
140
|
"@modern-js/module-tools": "2.60.6",
|