spana-test 0.0.2 → 0.2.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.
Files changed (124) hide show
  1. package/.agents/skills/spana-testing/SKILL.md +304 -0
  2. package/README.md +308 -88
  3. package/dist/agent/index.d.ts +110 -0
  4. package/dist/agent/index.js +25 -0
  5. package/dist/allure-PTTVORQ6.js +124 -0
  6. package/dist/allure-PTTVORQ6.js.map +1 -0
  7. package/dist/android-PAPJJWVN.js +34 -0
  8. package/dist/android-PAPJJWVN.js.map +1 -0
  9. package/dist/chunk-3FSZNKEF.js +62 -0
  10. package/dist/chunk-3FSZNKEF.js.map +1 -0
  11. package/dist/chunk-3YR4GUGE.js +249 -0
  12. package/dist/chunk-3YR4GUGE.js.map +1 -0
  13. package/dist/{discover-XIRJTZ7Z.js → chunk-AEKDFFPJ.js} +12 -5
  14. package/dist/{discover-XIRJTZ7Z.js.map → chunk-AEKDFFPJ.js.map} +1 -1
  15. package/dist/chunk-BF37W5EG.js +125 -0
  16. package/dist/chunk-BF37W5EG.js.map +1 -0
  17. package/dist/chunk-DGUM43GV.js +11 -0
  18. package/dist/chunk-DGUM43GV.js.map +1 -0
  19. package/dist/chunk-EXLUY7KT.js +21 -0
  20. package/dist/chunk-EXLUY7KT.js.map +1 -0
  21. package/dist/chunk-FNDOEMOL.js +62 -0
  22. package/dist/chunk-FNDOEMOL.js.map +1 -0
  23. package/dist/{chunk-CYEDLQJ4.js → chunk-GZK22EIE.js} +76 -102
  24. package/dist/chunk-GZK22EIE.js.map +1 -0
  25. package/dist/chunk-HWFDXIXR.js +183 -0
  26. package/dist/chunk-HWFDXIXR.js.map +1 -0
  27. package/dist/chunk-IJIASIX5.js +314 -0
  28. package/dist/chunk-IJIASIX5.js.map +1 -0
  29. package/dist/chunk-KJPHH2TW.js +168 -0
  30. package/dist/chunk-KJPHH2TW.js.map +1 -0
  31. package/dist/chunk-L7MFJF46.js +137 -0
  32. package/dist/chunk-L7MFJF46.js.map +1 -0
  33. package/dist/chunk-MRH7SK52.js +134 -0
  34. package/dist/chunk-MRH7SK52.js.map +1 -0
  35. package/dist/chunk-P7JQRLP4.js +114 -0
  36. package/dist/chunk-P7JQRLP4.js.map +1 -0
  37. package/dist/chunk-S2XNAKSO.js +1087 -0
  38. package/dist/chunk-S2XNAKSO.js.map +1 -0
  39. package/dist/chunk-S4R4OR7T.js +358 -0
  40. package/dist/chunk-S4R4OR7T.js.map +1 -0
  41. package/dist/chunk-SFBRFB2N.js +277 -0
  42. package/dist/chunk-SFBRFB2N.js.map +1 -0
  43. package/dist/chunk-VNYF5BHX.js +494 -0
  44. package/dist/chunk-VNYF5BHX.js.map +1 -0
  45. package/dist/chunk-WBU34APM.js +38 -0
  46. package/dist/chunk-WBU34APM.js.map +1 -0
  47. package/dist/chunk-WQ4GXUUE.js +2402 -0
  48. package/dist/chunk-WQ4GXUUE.js.map +1 -0
  49. package/dist/chunk-YBZCOQXJ.js +311 -0
  50. package/dist/chunk-YBZCOQXJ.js.map +1 -0
  51. package/dist/cli.js +428 -34
  52. package/dist/cli.js.map +1 -1
  53. package/dist/compiler-74VGKZO6.js +312 -0
  54. package/dist/compiler-74VGKZO6.js.map +1 -0
  55. package/dist/config-loader-BJJ3IJJ7.js +9 -0
  56. package/dist/config-loader-BJJ3IJJ7.js.map +1 -0
  57. package/dist/console-XWKUTP3D.js +164 -0
  58. package/dist/console-XWKUTP3D.js.map +1 -0
  59. package/dist/coordinator-BbUjvvnX.d.ts +383 -0
  60. package/dist/discover-KZKXHZZA.js +14 -0
  61. package/dist/discover-KZKXHZZA.js.map +1 -0
  62. package/dist/doctor-command-T2UX5RV5.js +732 -0
  63. package/dist/doctor-command-T2UX5RV5.js.map +1 -0
  64. package/dist/element-DZ0HyJ3C.d.ts +25 -0
  65. package/dist/flow-BUC9Mf8W.d.ts +128 -0
  66. package/dist/gherkin/steps.d.ts +32 -0
  67. package/dist/gherkin/steps.js +39 -0
  68. package/dist/gherkin/steps.js.map +1 -0
  69. package/dist/{html-GRB34S6X.js → html-GE6Q4DCG.js} +76 -22
  70. package/dist/html-GE6Q4DCG.js.map +1 -0
  71. package/dist/index.d.ts +159 -144
  72. package/dist/index.js +39 -165
  73. package/dist/index.js.map +1 -1
  74. package/dist/init-command-GVMRXIMY.js +121 -0
  75. package/dist/init-command-GVMRXIMY.js.map +1 -0
  76. package/dist/init-flow-command-R76AXF4Z.js +34 -0
  77. package/dist/init-flow-command-R76AXF4Z.js.map +1 -0
  78. package/dist/installer-YZJ4DV3F.js +22 -0
  79. package/dist/installer-YZJ4DV3F.js.map +1 -0
  80. package/dist/ios-ZW6XVNLG.js +50 -0
  81. package/dist/ios-ZW6XVNLG.js.map +1 -0
  82. package/dist/json-KS67BZYU.js +39 -0
  83. package/dist/json-KS67BZYU.js.map +1 -0
  84. package/dist/{junit-NAGZJOGQ.js → junit-HLC62MK6.js} +15 -4
  85. package/dist/junit-HLC62MK6.js.map +1 -0
  86. package/dist/provider-A57C3MU6.js +12 -0
  87. package/dist/provider-A57C3MU6.js.map +1 -0
  88. package/dist/redact-U72BUBBR.js +77 -0
  89. package/dist/redact-U72BUBBR.js.map +1 -0
  90. package/dist/runner-UXNHVVGG.js +20 -0
  91. package/dist/runner-UXNHVVGG.js.map +1 -0
  92. package/dist/server-W7OA3DDN.js +530 -0
  93. package/dist/server-W7OA3DDN.js.map +1 -0
  94. package/dist/session-TMNOKYLG.js +17 -0
  95. package/dist/session-TMNOKYLG.js.map +1 -0
  96. package/dist/studio-command-6VHTHDUK.js +24 -0
  97. package/dist/studio-command-6VHTHDUK.js.map +1 -0
  98. package/dist/test-command-AHMOZLV4.js +2852 -0
  99. package/dist/test-command-AHMOZLV4.js.map +1 -0
  100. package/dist/validator-35624P7S.js +20 -0
  101. package/dist/validator-35624P7S.js.map +1 -0
  102. package/package.json +41 -4
  103. package/studio-dist/assets/index-DC6DIXfl.js +188 -0
  104. package/studio-dist/assets/index-DDKsnBwD.css +1 -0
  105. package/studio-dist/index.html +13 -0
  106. package/dist/chunk-CYEDLQJ4.js.map +0 -1
  107. package/dist/chunk-PVNNKPBW.js +0 -64
  108. package/dist/chunk-PVNNKPBW.js.map +0 -1
  109. package/dist/chunk-VZZH66U5.js +0 -1781
  110. package/dist/chunk-VZZH66U5.js.map +0 -1
  111. package/dist/console-GPV3M3PC.js +0 -71
  112. package/dist/console-GPV3M3PC.js.map +0 -1
  113. package/dist/html-GRB34S6X.js.map +0 -1
  114. package/dist/json-FK2NSRGC.js +0 -20
  115. package/dist/json-FK2NSRGC.js.map +0 -1
  116. package/dist/junit-NAGZJOGQ.js.map +0 -1
  117. package/dist/runner-LBQUCG3K.js +0 -12
  118. package/dist/session-U7VP5J2C.js +0 -122
  119. package/dist/session-U7VP5J2C.js.map +0 -1
  120. package/dist/test-command-WPYLJYIK.js +0 -636
  121. package/dist/test-command-WPYLJYIK.js.map +0 -1
  122. package/dist/validator-J4YSBB66.js +0 -33
  123. package/dist/validator-J4YSBB66.js.map +0 -1
  124. /package/dist/{runner-LBQUCG3K.js.map → agent/index.js.map} +0 -0
@@ -0,0 +1,383 @@
1
+ import { Schema, Effect } from 'effect';
2
+
3
+ type Platform = "android" | "ios" | "web";
4
+ declare const Selector: Schema.Union<[typeof Schema.String, Schema.Struct<{
5
+ testID: typeof Schema.String;
6
+ }>, Schema.Struct<{
7
+ text: typeof Schema.String;
8
+ }>, Schema.Struct<{
9
+ accessibilityLabel: typeof Schema.String;
10
+ }>, Schema.Struct<{
11
+ point: Schema.Struct<{
12
+ x: typeof Schema.Number;
13
+ y: typeof Schema.Number;
14
+ }>;
15
+ }>]>;
16
+ type Selector = typeof Selector.Type;
17
+ /** Relative selector — find element relative to an anchor element's position */
18
+ interface RelativeSelector {
19
+ selector: Selector;
20
+ below?: Selector;
21
+ above?: Selector;
22
+ leftOf?: Selector;
23
+ rightOf?: Selector;
24
+ childOf?: Selector;
25
+ }
26
+ /** Extended selector that supports both simple and relative selectors */
27
+ type ExtendedSelector = Selector | RelativeSelector;
28
+
29
+ declare const DriverError_base: Schema.TaggedErrorClass<DriverError, "DriverError", {
30
+ readonly _tag: Schema.tag<"DriverError">;
31
+ } & {
32
+ message: typeof Schema.String;
33
+ command: Schema.optional<typeof Schema.String>;
34
+ exitCode: Schema.optional<typeof Schema.Number>;
35
+ stdout: Schema.optional<typeof Schema.String>;
36
+ stderr: Schema.optional<typeof Schema.String>;
37
+ }>;
38
+ declare class DriverError extends DriverError_base {
39
+ }
40
+
41
+ declare const DeviceInfo: Schema.Struct<{
42
+ platform: Schema.Literal<["android", "ios", "web"]>;
43
+ deviceId: typeof Schema.String;
44
+ name: typeof Schema.String;
45
+ isEmulator: typeof Schema.Boolean;
46
+ screenWidth: typeof Schema.Number;
47
+ screenHeight: typeof Schema.Number;
48
+ driverType: Schema.Literal<["playwright", "uiautomator2", "wda", "appium"]>;
49
+ }>;
50
+ type DeviceInfo = typeof DeviceInfo.Type;
51
+
52
+ type RawHierarchy = string;
53
+ interface LaunchOptions {
54
+ clearState?: boolean;
55
+ clearKeychain?: boolean;
56
+ deepLink?: string;
57
+ launchArguments?: Record<string, unknown>;
58
+ }
59
+ type BrowserRouteMatcher = string | RegExp;
60
+ interface BrowserMockResponse {
61
+ status?: number;
62
+ body?: string;
63
+ json?: unknown;
64
+ headers?: Record<string, string>;
65
+ contentType?: string;
66
+ }
67
+ interface BrowserNetworkConditions {
68
+ offline?: boolean;
69
+ latencyMs?: number;
70
+ downloadThroughputKbps?: number;
71
+ uploadThroughputKbps?: number;
72
+ }
73
+ interface BrowserConsoleLogLocation {
74
+ url?: string;
75
+ lineNumber?: number;
76
+ columnNumber?: number;
77
+ }
78
+ interface BrowserConsoleLog {
79
+ type: string;
80
+ text: string;
81
+ location?: BrowserConsoleLogLocation;
82
+ }
83
+ interface BrowserJSError {
84
+ name?: string;
85
+ message: string;
86
+ stack?: string;
87
+ }
88
+ interface BrowserHARHeader {
89
+ name: string;
90
+ value: string;
91
+ }
92
+ interface BrowserHAREntry {
93
+ pageref: string;
94
+ startedDateTime: string;
95
+ time: number;
96
+ request: {
97
+ method: string;
98
+ url: string;
99
+ httpVersion: string;
100
+ headers: BrowserHARHeader[];
101
+ queryString: BrowserHARHeader[];
102
+ headersSize: number;
103
+ bodySize: number;
104
+ postData?: {
105
+ mimeType: string;
106
+ text?: string;
107
+ };
108
+ };
109
+ response: {
110
+ status: number;
111
+ statusText: string;
112
+ httpVersion: string;
113
+ headers: BrowserHARHeader[];
114
+ redirectURL: string;
115
+ headersSize: number;
116
+ bodySize: number;
117
+ content: {
118
+ size: number;
119
+ mimeType: string;
120
+ };
121
+ };
122
+ cache: Record<string, never>;
123
+ timings: {
124
+ blocked: number;
125
+ dns: number;
126
+ connect: number;
127
+ ssl: number;
128
+ send: number;
129
+ wait: number;
130
+ receive: number;
131
+ };
132
+ serverIPAddress?: string;
133
+ _resourceType?: string;
134
+ _failureText?: string;
135
+ }
136
+ interface BrowserHARPage {
137
+ id: string;
138
+ title: string;
139
+ startedDateTime: string;
140
+ pageTimings: {
141
+ onContentLoad: number;
142
+ onLoad: number;
143
+ };
144
+ }
145
+ interface BrowserHAR {
146
+ log: {
147
+ version: "1.2";
148
+ creator: {
149
+ name: "spana";
150
+ version: string;
151
+ };
152
+ browser: {
153
+ name: string;
154
+ };
155
+ pages: BrowserHARPage[];
156
+ entries: BrowserHAREntry[];
157
+ };
158
+ }
159
+ type TouchAction = {
160
+ type: "move";
161
+ x: number;
162
+ y: number;
163
+ duration?: number;
164
+ } | {
165
+ type: "down";
166
+ } | {
167
+ type: "up";
168
+ } | {
169
+ type: "pause";
170
+ duration: number;
171
+ };
172
+ interface TouchSequence {
173
+ id: number;
174
+ actions: TouchAction[];
175
+ }
176
+ interface RawDriverService {
177
+ readonly beginFlow?: (flowName: string) => Effect.Effect<void, DriverError>;
178
+ readonly getDriverLogs?: () => Effect.Effect<string[], DriverError>;
179
+ readonly dumpHierarchy: () => Effect.Effect<RawHierarchy, DriverError>;
180
+ readonly tapAtCoordinate: (x: number, y: number) => Effect.Effect<void, DriverError>;
181
+ readonly doubleTapAtCoordinate: (x: number, y: number) => Effect.Effect<void, DriverError>;
182
+ readonly longPressAtCoordinate: (x: number, y: number, duration: number) => Effect.Effect<void, DriverError>;
183
+ readonly swipe: (startX: number, startY: number, endX: number, endY: number, duration: number) => Effect.Effect<void, DriverError>;
184
+ readonly pinch?: (cx: number, cy: number, scale: number, duration: number) => Effect.Effect<void, DriverError>;
185
+ readonly zoom?: (cx: number, cy: number, scale: number, duration: number) => Effect.Effect<void, DriverError>;
186
+ readonly multiTouch?: (sequences: TouchSequence[]) => Effect.Effect<void, DriverError>;
187
+ readonly inputText: (text: string) => Effect.Effect<void, DriverError>;
188
+ readonly pressKey: (key: string) => Effect.Effect<void, DriverError>;
189
+ readonly hideKeyboard: () => Effect.Effect<void, DriverError>;
190
+ readonly takeScreenshot: () => Effect.Effect<Uint8Array, DriverError>;
191
+ readonly getDeviceInfo: () => Effect.Effect<DeviceInfo, DriverError>;
192
+ readonly launchApp: (bundleId: string, opts?: LaunchOptions) => Effect.Effect<void, DriverError>;
193
+ readonly stopApp: (bundleId: string) => Effect.Effect<void, DriverError>;
194
+ readonly killApp: (bundleId: string) => Effect.Effect<void, DriverError>;
195
+ readonly clearAppState: (bundleId: string) => Effect.Effect<void, DriverError>;
196
+ readonly openLink: (url: string) => Effect.Effect<void, DriverError>;
197
+ readonly back: () => Effect.Effect<void, DriverError>;
198
+ readonly evaluate: <T = unknown>(script: string | ((...args: unknown[]) => T), ...args: unknown[]) => Effect.Effect<T, DriverError>;
199
+ readonly getContexts?: () => Effect.Effect<string[], DriverError>;
200
+ readonly getCurrentContext?: () => Effect.Effect<string, DriverError>;
201
+ readonly setContext?: (contextId: string) => Effect.Effect<void, DriverError>;
202
+ readonly mockNetwork?: (matcher: BrowserRouteMatcher, response: BrowserMockResponse) => Effect.Effect<void, DriverError>;
203
+ readonly blockNetwork?: (matcher: BrowserRouteMatcher) => Effect.Effect<void, DriverError>;
204
+ readonly clearNetworkMocks?: () => Effect.Effect<void, DriverError>;
205
+ readonly setNetworkConditions?: (conditions: BrowserNetworkConditions) => Effect.Effect<void, DriverError>;
206
+ readonly saveCookies?: (path: string) => Effect.Effect<void, DriverError>;
207
+ readonly loadCookies?: (path: string) => Effect.Effect<void, DriverError>;
208
+ readonly saveAuthState?: (path: string) => Effect.Effect<void, DriverError>;
209
+ readonly loadAuthState?: (path: string) => Effect.Effect<void, DriverError>;
210
+ readonly downloadFile?: (path: string) => Effect.Effect<void, DriverError>;
211
+ readonly uploadFile?: (selector: Selector, path: string) => Effect.Effect<void, DriverError>;
212
+ readonly newTab?: (url?: string) => Effect.Effect<string, DriverError>;
213
+ readonly switchToTab?: (index: number) => Effect.Effect<void, DriverError>;
214
+ readonly closeTab?: () => Effect.Effect<void, DriverError>;
215
+ readonly getTabIds?: () => Effect.Effect<string[], DriverError>;
216
+ readonly getConsoleLogs?: () => Effect.Effect<BrowserConsoleLog[], DriverError>;
217
+ readonly getJSErrors?: () => Effect.Effect<BrowserJSError[], DriverError>;
218
+ readonly getHAR?: () => Effect.Effect<BrowserHAR, DriverError>;
219
+ }
220
+
221
+ interface IOSSigningConfig {
222
+ /** Apple Development Team ID (from developer.apple.com or Xcode) */
223
+ teamId: string;
224
+ /** Code signing identity (default: "Apple Development") */
225
+ signingIdentity?: string;
226
+ }
227
+ interface AppConfig {
228
+ url?: string;
229
+ packageName?: string;
230
+ bundleId?: string;
231
+ /** Path to .app or .ipa for auto-install on device/simulator */
232
+ appPath?: string;
233
+ /** iOS code signing config for physical devices */
234
+ signing?: IOSSigningConfig;
235
+ }
236
+ type BrowserName = "chromium" | "firefox" | "webkit";
237
+ interface WebExecutionConfig {
238
+ browser?: BrowserName;
239
+ headless?: boolean;
240
+ /** Optional Playwright storage state JSON file to preload for web runs */
241
+ storageState?: string;
242
+ /** Print verbose Playwright runtime events to stdout for local web debugging */
243
+ verboseLogging?: boolean;
244
+ }
245
+ interface CloudAppReferenceConfig {
246
+ /** Existing remote app reference, e.g. bs://... or storage:... */
247
+ id?: string;
248
+ /** Local file path to upload when the provider supports managed upload */
249
+ path?: string;
250
+ /** Override the uploaded file name when the provider supports it */
251
+ name?: string;
252
+ }
253
+ interface BrowserStackAppConfig extends CloudAppReferenceConfig {
254
+ /** Stable BrowserStack app alias */
255
+ customId?: string;
256
+ }
257
+ interface BrowserStackLocalConfig {
258
+ enabled?: boolean;
259
+ binary?: string;
260
+ identifier?: string;
261
+ args?: string[];
262
+ }
263
+ interface BrowserStackHelperConfig {
264
+ app?: BrowserStackAppConfig;
265
+ local?: BrowserStackLocalConfig;
266
+ options?: Record<string, unknown>;
267
+ }
268
+ interface SauceConnectConfig {
269
+ enabled?: boolean;
270
+ binary?: string;
271
+ tunnelName?: string;
272
+ args?: string[];
273
+ }
274
+ interface SauceLabsHelperConfig {
275
+ app?: CloudAppReferenceConfig;
276
+ connect?: SauceConnectConfig;
277
+ options?: Record<string, unknown>;
278
+ }
279
+ interface AppiumExecutionConfig {
280
+ serverUrl?: string;
281
+ capabilities?: Record<string, unknown>;
282
+ capabilitiesFile?: string;
283
+ reportToProvider?: boolean;
284
+ browserstack?: BrowserStackHelperConfig;
285
+ saucelabs?: SauceLabsHelperConfig;
286
+ /** Path to a custom cloud provider module (default export must conform to CloudProvider interface). */
287
+ cloudProvider?: string;
288
+ }
289
+ interface ExecutionConfig {
290
+ mode?: "local" | "appium";
291
+ web?: WebExecutionConfig;
292
+ appium?: AppiumExecutionConfig;
293
+ }
294
+ interface ArtifactConfig {
295
+ outputDir?: string;
296
+ captureOnFailure?: boolean;
297
+ captureOnSuccess?: boolean;
298
+ captureSteps?: boolean;
299
+ screenshot?: boolean;
300
+ uiHierarchy?: boolean;
301
+ consoleLogs?: boolean;
302
+ jsErrors?: boolean;
303
+ har?: boolean;
304
+ }
305
+ interface HookContext {
306
+ app: unknown;
307
+ expect?: unknown;
308
+ platform?: Platform;
309
+ result?: unknown;
310
+ summary?: unknown;
311
+ }
312
+ interface ProvConfig {
313
+ apps?: {
314
+ web?: AppConfig;
315
+ android?: AppConfig;
316
+ ios?: AppConfig;
317
+ };
318
+ defaults?: {
319
+ waitTimeout?: number;
320
+ pollInterval?: number;
321
+ settleTimeout?: number;
322
+ retries?: number;
323
+ /** Pause after each action (tap, scroll) to let the UI settle. Default: 0 (disabled). */
324
+ waitForIdleTimeout?: number;
325
+ /** Delay between each character when typing. Default: 0 (instant). */
326
+ typingDelay?: number;
327
+ /** Starting poll interval for adaptive backoff. Default: 50ms. Set equal to pollInterval to disable adaptive backoff. */
328
+ initialPollInterval?: number;
329
+ /** Max age in ms before cached hierarchy is stale. Default: 100. Set to 0 to disable. */
330
+ hierarchyCacheTtl?: number;
331
+ /** Delay in ms between retry attempts of a failed flow. Default: 0 (immediate). */
332
+ retryDelay?: number;
333
+ /** Max workers per platform when using --parallel. */
334
+ workers?: number;
335
+ };
336
+ platforms?: Platform[];
337
+ /** Run platforms concurrently when they use independent resources. Default: false (serial). */
338
+ parallelPlatforms?: boolean;
339
+ flowDir?: string;
340
+ launchOptions?: LaunchOptions;
341
+ /**
342
+ * Reporter names or module paths. Built-in: "console", "json", "junit", "html", "allure".
343
+ * Custom reporters: provide a relative path (e.g., "./reporters/slack.ts") that default-exports
344
+ * a Reporter object or a `(options: { outputDir: string }) => Reporter` factory function.
345
+ */
346
+ reporters?: string[];
347
+ hooks?: {
348
+ beforeAll?: (ctx: HookContext) => Promise<void>;
349
+ beforeEach?: (ctx: HookContext) => Promise<void>;
350
+ afterEach?: (ctx: HookContext) => Promise<void>;
351
+ afterAll?: (ctx: HookContext) => Promise<void>;
352
+ };
353
+ artifacts?: ArtifactConfig;
354
+ execution?: ExecutionConfig;
355
+ }
356
+ declare function defineConfig(config: ProvConfig): ProvConfig;
357
+
358
+ interface WaitOptions {
359
+ timeout?: number;
360
+ pollInterval?: number;
361
+ settleTimeout?: number;
362
+ /** Starting poll interval for adaptive polling. Default: 50ms. Set equal to pollInterval to disable adaptive backoff. */
363
+ initialPollInterval?: number;
364
+ }
365
+
366
+ type Direction = "up" | "down" | "left" | "right";
367
+ interface ScrollUntilVisibleOptions extends WaitOptions {
368
+ /** Where the target is relative to the current viewport. Default: "down". */
369
+ direction?: Direction;
370
+ /** Max number of scroll gestures to attempt before failing. Default: 5. */
371
+ maxScrolls?: number;
372
+ }
373
+ type KeyboardDismissStrategy = "auto" | "driver" | "back";
374
+ interface DismissKeyboardOptions {
375
+ /** Default: "auto" (driver hideKeyboard, then Android back fallback). */
376
+ strategy?: KeyboardDismissStrategy;
377
+ }
378
+ interface BackUntilVisibleOptions extends WaitOptions {
379
+ /** Max number of back actions to attempt before failing. Default: 3. */
380
+ maxBacks?: number;
381
+ }
382
+
383
+ export { type AppiumExecutionConfig as A, type BackUntilVisibleOptions as B, DeviceInfo as D, type ExtendedSelector as E, type LaunchOptions as L, type Platform as P, type RelativeSelector as R, type ScrollUntilVisibleOptions as S, type TouchAction as T, type WebExecutionConfig as W, type AppConfig as a, type ArtifactConfig as b, type BrowserConsoleLog as c, type BrowserHAR as d, type BrowserJSError as e, type BrowserMockResponse as f, type BrowserName as g, type BrowserNetworkConditions as h, type BrowserRouteMatcher as i, type DismissKeyboardOptions as j, type ProvConfig as k, Selector as l, type TouchSequence as m, defineConfig as n, type WaitOptions as o, type Direction as p, type RawDriverService as q };
@@ -0,0 +1,14 @@
1
+ import {
2
+ discoverDevices,
3
+ findDeviceById,
4
+ firstDeviceForPlatform
5
+ } from "./chunk-AEKDFFPJ.js";
6
+ import "./chunk-GZK22EIE.js";
7
+ import "./chunk-SFBRFB2N.js";
8
+ import "./chunk-DGUM43GV.js";
9
+ export {
10
+ discoverDevices,
11
+ findDeviceById,
12
+ firstDeviceForPlatform
13
+ };
14
+ //# sourceMappingURL=discover-KZKXHZZA.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}