@unotest/web 0.40.0 → 0.42.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/CHANGELOG.md +432 -3
- package/README.md +50 -4
- package/dist/config/schema.d.ts +29 -8
- package/dist/config/schema.js +1 -1
- package/dist/driver/index.d.ts +2 -2
- package/dist/driver/index.js +1 -1
- package/dist/dsl/index.d.ts +2 -2
- package/dist/dsl/index.js +1 -1
- package/dist/dsl/web-dsl-language-service.js +1 -1
- package/dist/inspection/page-inject.d.ts +1 -1
- package/dist/{interfaces-B34N4rfI.d.ts → interfaces-7nMNCr2h.d.ts} +6 -0
- package/dist/mcp/server.js +1 -1
- package/dist/runner/cli.js +1 -1
- package/dist/runner/init/chrome-probe.js +1 -1
- package/dist/runner/init.d.ts +4 -0
- package/dist/runner/init.js +1 -1
- package/dist/runner/install-chromium.js +1 -1
- package/dist/runner/prepare-fix.js +1 -1
- package/dist/runner/scaffold-workspace.js +1 -1
- package/dist/runner/serve-fixture.js +1 -1
- package/dist/runner/web-runner-adapter.js +1 -1
- package/guides/agent-integration.md +4 -1
- package/package.json +8 -8
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InjectedDomHelpers } from '@unotest/grounder-client/dom-walker';
|
|
2
2
|
import { PickerMode } from '@unotest/protocol';
|
|
3
|
-
import { E as ElementHint } from '../interfaces-
|
|
3
|
+
import { E as ElementHint } from '../interfaces-7nMNCr2h.js';
|
|
4
4
|
import '../config/schema.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
|
|
@@ -84,6 +84,12 @@ interface LaunchOptions {
|
|
|
84
84
|
* agent share one browser). Exposes `wsEndpoint()` after launch. Default:
|
|
85
85
|
* false (normal in-process launch). */
|
|
86
86
|
share?: boolean;
|
|
87
|
+
/** A browser profile directory: the browser starts on it as ONE
|
|
88
|
+
* persistent context, which every `newContext()` then returns
|
|
89
|
+
* (`config.launch.userDataDir`). */
|
|
90
|
+
userDataDir?: string;
|
|
91
|
+
/** Extra browser command-line arguments (`config.launch.args`). */
|
|
92
|
+
args?: string[];
|
|
87
93
|
}
|
|
88
94
|
interface Viewport {
|
|
89
95
|
width: number;
|