@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.
@@ -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-B34N4rfI.js';
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;