browser-pilot 0.0.12 → 0.0.13

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/index.d.cts CHANGED
@@ -1,8 +1,8 @@
1
1
  export { BatchExecutor, ValidationError, ValidationResult, addBatchToPage, validateSteps } from './actions.cjs';
2
- import { R as RequestPattern, a as RequestHandler, C as CaptureResult } from './types-BOPu0OQZ.cjs';
3
- export { k as ActionOptions, l as ActionResult, A as ActionType, d as AudioChunk, e as AudioInput, f as AudioInputState, g as AudioOutput, B as BatchOptions, b as BatchResult, h as CaptureOptions, a3 as ClearCookiesOptions, m as ConsoleHandler, n as ConsoleMessage, o as ConsoleMessageType, Y as ContinueRequestOptions, a4 as Cookie, p as CustomSelectConfig, a5 as DeleteCookieOptions, O as DeviceDescriptor, Q as DeviceName, D as Dialog, q as DialogHandler, r as DialogType, s as Download, E as ElementInfo, t as ElementNotFoundError, u as EmulationState, v as ErrorHandler, Z as FailRequestOptions, F as FileInput, w as FillOptions, _ as FulfillRequestOptions, G as GeolocationOptions, I as InteractiveElement, $ as InterceptedRequest, N as NavigationError, x as NetworkIdleOptions, y as Page, z as PageError, H as PageSnapshot, P as PlayOptions, a0 as RequestActions, a1 as ResourceType, i as RoundTripOptions, j as RoundTripResult, a2 as RouteOptions, a6 as SetCookieOptions, J as SnapshotNode, S as Step, c as StepResult, K as SubmitOptions, T as TimeoutError, L as TypeOptions, U as UserAgentMetadata, M as UserAgentOptions, V as ViewportOptions, W as WaitForOptions, a7 as WaitOptions, a8 as WaitResult, a9 as WaitState, X as devices, aa as waitForAnyElement, ab as waitForElement, ac as waitForNavigation, ad as waitForNetworkIdle } from './types-BOPu0OQZ.cjs';
4
- import { C as CDPClient } from './client-7Nqka5MV.cjs';
5
- export { a as CDPClientOptions, c as createCDPClient } from './client-7Nqka5MV.cjs';
2
+ import { R as RequestPattern, a as RequestHandler, C as CaptureResult } from './types-BXMGFtnB.cjs';
3
+ export { k as ActionOptions, l as ActionResult, A as ActionType, d as AudioChunk, e as AudioInput, f as AudioInputState, g as AudioOutput, B as BatchOptions, b as BatchResult, h as CaptureOptions, a6 as ClearCookiesOptions, m as ConsoleHandler, n as ConsoleMessage, o as ConsoleMessageType, $ as ContinueRequestOptions, a7 as Cookie, p as CustomSelectConfig, a8 as DeleteCookieOptions, Y as DeviceDescriptor, Z as DeviceName, D as Dialog, q as DialogHandler, r as DialogType, s as Download, E as ElementInfo, t as ElementNotFoundError, u as EmulationState, v as ErrorHandler, a0 as FailRequestOptions, F as FileInput, w as FillOptions, x as FormField, y as FormOption, a1 as FulfillRequestOptions, G as GeolocationOptions, I as InteractiveElement, a2 as InterceptedRequest, N as NavigationError, z as NetworkIdleOptions, H as Page, J as PageError, K as PageSnapshot, P as PlayOptions, a3 as RequestActions, a4 as ResourceType, i as RoundTripOptions, j as RoundTripResult, a5 as RouteOptions, a9 as SetCookieOptions, L as SnapshotNode, M as SnapshotOptions, S as Step, c as StepResult, O as SubmitOptions, T as TimeoutError, Q as TypeOptions, U as UserAgentMetadata, V as UserAgentOptions, W as ViewportOptions, X as WaitForOptions, aa as WaitOptions, ab as WaitResult, ac as WaitState, _ as devices, ad as waitForAnyElement, ae as waitForElement, af as waitForNavigation, ag as waitForNetworkIdle } from './types-BXMGFtnB.cjs';
4
+ import { C as CDPClient } from './client-DRqxBdHv.cjs';
5
+ export { a as CDPClientOptions, c as createCDPClient } from './client-DRqxBdHv.cjs';
6
6
  export { Browser, BrowserOptions, PageOptions, connect } from './browser.cjs';
7
7
  export { CDPError } from './cdp.cjs';
8
8
  export { BrowserBaseProvider, BrowserlessProvider, GenericProvider, createProvider, discoverTargets, getBrowserWebSocketUrl } from './providers.cjs';
package/dist/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  export { BatchExecutor, ValidationError, ValidationResult, addBatchToPage, validateSteps } from './actions.js';
2
- import { R as RequestPattern, a as RequestHandler, C as CaptureResult } from './types-j23Iqo2L.js';
3
- export { k as ActionOptions, l as ActionResult, A as ActionType, d as AudioChunk, e as AudioInput, f as AudioInputState, g as AudioOutput, B as BatchOptions, b as BatchResult, h as CaptureOptions, a3 as ClearCookiesOptions, m as ConsoleHandler, n as ConsoleMessage, o as ConsoleMessageType, Y as ContinueRequestOptions, a4 as Cookie, p as CustomSelectConfig, a5 as DeleteCookieOptions, O as DeviceDescriptor, Q as DeviceName, D as Dialog, q as DialogHandler, r as DialogType, s as Download, E as ElementInfo, t as ElementNotFoundError, u as EmulationState, v as ErrorHandler, Z as FailRequestOptions, F as FileInput, w as FillOptions, _ as FulfillRequestOptions, G as GeolocationOptions, I as InteractiveElement, $ as InterceptedRequest, N as NavigationError, x as NetworkIdleOptions, y as Page, z as PageError, H as PageSnapshot, P as PlayOptions, a0 as RequestActions, a1 as ResourceType, i as RoundTripOptions, j as RoundTripResult, a2 as RouteOptions, a6 as SetCookieOptions, J as SnapshotNode, S as Step, c as StepResult, K as SubmitOptions, T as TimeoutError, L as TypeOptions, U as UserAgentMetadata, M as UserAgentOptions, V as ViewportOptions, W as WaitForOptions, a7 as WaitOptions, a8 as WaitResult, a9 as WaitState, X as devices, aa as waitForAnyElement, ab as waitForElement, ac as waitForNavigation, ad as waitForNetworkIdle } from './types-j23Iqo2L.js';
4
- import { C as CDPClient } from './client-7Nqka5MV.js';
5
- export { a as CDPClientOptions, c as createCDPClient } from './client-7Nqka5MV.js';
2
+ import { R as RequestPattern, a as RequestHandler, C as CaptureResult } from './types-CzgQjai9.js';
3
+ export { k as ActionOptions, l as ActionResult, A as ActionType, d as AudioChunk, e as AudioInput, f as AudioInputState, g as AudioOutput, B as BatchOptions, b as BatchResult, h as CaptureOptions, a6 as ClearCookiesOptions, m as ConsoleHandler, n as ConsoleMessage, o as ConsoleMessageType, $ as ContinueRequestOptions, a7 as Cookie, p as CustomSelectConfig, a8 as DeleteCookieOptions, Y as DeviceDescriptor, Z as DeviceName, D as Dialog, q as DialogHandler, r as DialogType, s as Download, E as ElementInfo, t as ElementNotFoundError, u as EmulationState, v as ErrorHandler, a0 as FailRequestOptions, F as FileInput, w as FillOptions, x as FormField, y as FormOption, a1 as FulfillRequestOptions, G as GeolocationOptions, I as InteractiveElement, a2 as InterceptedRequest, N as NavigationError, z as NetworkIdleOptions, H as Page, J as PageError, K as PageSnapshot, P as PlayOptions, a3 as RequestActions, a4 as ResourceType, i as RoundTripOptions, j as RoundTripResult, a5 as RouteOptions, a9 as SetCookieOptions, L as SnapshotNode, M as SnapshotOptions, S as Step, c as StepResult, O as SubmitOptions, T as TimeoutError, Q as TypeOptions, U as UserAgentMetadata, V as UserAgentOptions, W as ViewportOptions, X as WaitForOptions, aa as WaitOptions, ab as WaitResult, ac as WaitState, _ as devices, ad as waitForAnyElement, ae as waitForElement, af as waitForNavigation, ag as waitForNetworkIdle } from './types-CzgQjai9.js';
4
+ import { C as CDPClient } from './client-DRqxBdHv.js';
5
+ export { a as CDPClientOptions, c as createCDPClient } from './client-DRqxBdHv.js';
6
6
  export { Browser, BrowserOptions, PageOptions, connect } from './browser.js';
7
7
  export { CDPError } from './cdp.js';
8
8
  export { BrowserBaseProvider, BrowserlessProvider, GenericProvider, createProvider, discoverTargets, getBrowserWebSocketUrl } from './providers.js';
package/dist/index.mjs CHANGED
@@ -16,10 +16,10 @@ import {
16
16
  waitForElement,
17
17
  waitForNavigation,
18
18
  waitForNetworkIdle
19
- } from "./chunk-RUWAXHDX.mjs";
19
+ } from "./chunk-VDAMDOS6.mjs";
20
20
  import {
21
21
  createCDPClient
22
- } from "./chunk-4MBSALQL.mjs";
22
+ } from "./chunk-HP6R3W32.mjs";
23
23
  import {
24
24
  BrowserBaseProvider,
25
25
  BrowserlessProvider,
@@ -35,7 +35,7 @@ import {
35
35
  TimeoutError,
36
36
  addBatchToPage,
37
37
  validateSteps
38
- } from "./chunk-NLIARNEE.mjs";
38
+ } from "./chunk-A2ZRAEO3.mjs";
39
39
  import {
40
40
  CDPError
41
41
  } from "./chunk-JXAUPHZM.mjs";
@@ -1,4 +1,4 @@
1
- import { C as CDPClient } from './client-7Nqka5MV.js';
1
+ import { C as CDPClient } from './client-DRqxBdHv.cjs';
2
2
 
3
3
  /**
4
4
  * Audio I/O type definitions
@@ -367,6 +367,10 @@ interface PageSnapshot {
367
367
  /** Text representation of the page */
368
368
  text: string;
369
369
  }
370
+ interface SnapshotOptions {
371
+ /** Restrict the snapshot to these accessibility roles */
372
+ roles?: string[];
373
+ }
370
374
  interface SnapshotNode {
371
375
  /** Accessibility role */
372
376
  role: string;
@@ -396,6 +400,29 @@ interface InteractiveElement {
396
400
  selector: string;
397
401
  /** Whether the element is disabled */
398
402
  disabled?: boolean;
403
+ /** Whether the element is checked */
404
+ checked?: boolean;
405
+ /** Current value where relevant */
406
+ value?: string;
407
+ }
408
+ interface FormOption {
409
+ value: string;
410
+ text: string;
411
+ selected: boolean;
412
+ disabled: boolean;
413
+ }
414
+ interface FormField {
415
+ tag: string;
416
+ type: string;
417
+ id?: string;
418
+ name?: string;
419
+ value?: string | string[] | null;
420
+ checked?: boolean;
421
+ required: boolean;
422
+ disabled: boolean;
423
+ label?: string;
424
+ placeholder?: string;
425
+ options?: FormOption[];
399
426
  }
400
427
  interface FailureHint {
401
428
  /** Suggested selector */
@@ -882,6 +909,10 @@ declare class Page {
882
909
  * Get text content from the page or a specific element
883
910
  */
884
911
  text(selector?: string): Promise<string>;
912
+ /**
913
+ * Enumerate form controls on the page with labels and current state.
914
+ */
915
+ forms(): Promise<FormField[]>;
885
916
  /**
886
917
  * Set files on a file input
887
918
  */
@@ -904,7 +935,7 @@ declare class Page {
904
935
  /**
905
936
  * Get an accessibility tree snapshot of the page
906
937
  */
907
- snapshot(): Promise<PageSnapshot>;
938
+ snapshot(options?: SnapshotOptions): Promise<PageSnapshot>;
908
939
  /**
909
940
  * Export the current ref map for cross-exec reuse (CLI).
910
941
  */
@@ -1094,9 +1125,17 @@ declare class Page {
1094
1125
  private withStaleNodeRetry;
1095
1126
  /**
1096
1127
  * Find an element using single or multiple selectors
1097
- * Supports ref: prefix for ref-based selectors (e.g., "ref:e4")
1128
+ * Supports ref:, text:, and role: selectors.
1098
1129
  */
1099
1130
  private findElement;
1131
+ private formatEvaluationError;
1132
+ private resolveSpecialSelector;
1133
+ private readCheckedState;
1134
+ private readInputType;
1135
+ private getAssociatedLabelNodeId;
1136
+ private objectIdToNode;
1137
+ private tryClickAssociatedLabel;
1138
+ private tryToggleViaLabel;
1100
1139
  /**
1101
1140
  * Ensure we have a valid root node ID
1102
1141
  */
@@ -1182,7 +1221,7 @@ declare class Page {
1182
1221
  */
1183
1222
 
1184
1223
  type FailureReason = 'missing' | 'hidden' | 'covered' | 'disabled' | 'readonly' | 'detached' | 'replaced' | 'notEditable' | 'timeout' | 'navigation' | 'cdpError' | 'unknown';
1185
- type ActionType = 'goto' | 'click' | 'fill' | 'type' | 'select' | 'check' | 'uncheck' | 'submit' | 'press' | 'shortcut' | 'focus' | 'hover' | 'scroll' | 'wait' | 'snapshot' | 'screenshot' | 'evaluate' | 'text' | 'switchFrame' | 'switchToMain' | 'assertVisible' | 'assertExists' | 'assertText' | 'assertUrl' | 'assertValue';
1224
+ type ActionType = 'goto' | 'click' | 'fill' | 'type' | 'select' | 'check' | 'uncheck' | 'submit' | 'press' | 'shortcut' | 'focus' | 'hover' | 'scroll' | 'wait' | 'snapshot' | 'forms' | 'screenshot' | 'evaluate' | 'text' | 'newTab' | 'closeTab' | 'switchFrame' | 'switchToMain' | 'assertVisible' | 'assertExists' | 'assertText' | 'assertUrl' | 'assertValue';
1186
1225
  interface Step {
1187
1226
  /** Action type */
1188
1227
  action: ActionType;
@@ -1192,6 +1231,8 @@ interface Step {
1192
1231
  url?: string;
1193
1232
  /** Value for fill, type, select, evaluate actions */
1194
1233
  value?: string | string[];
1234
+ /** Target ID for tab operations */
1235
+ targetId?: string;
1195
1236
  /** Key for press action */
1196
1237
  key?: string;
1197
1238
  /** Key combo for shortcut action (e.g. "Control+a", "Meta+Shift+z") */
@@ -1290,4 +1331,4 @@ interface BatchResult {
1290
1331
  totalDurationMs: number;
1291
1332
  }
1292
1333
 
1293
- export { type InterceptedRequest as $, type ActionType as A, type BatchOptions as B, type CaptureResult as C, type Dialog as D, type ElementInfo as E, type FileInput as F, type GeolocationOptions as G, type PageSnapshot as H, type InteractiveElement as I, type SnapshotNode as J, type SubmitOptions as K, type TypeOptions as L, type UserAgentOptions as M, NavigationError as N, type DeviceDescriptor as O, type PlayOptions as P, type DeviceName as Q, type RequestPattern as R, type Step as S, TimeoutError as T, type UserAgentMetadata as U, type ViewportOptions as V, type WaitForOptions as W, devices as X, type ContinueRequestOptions as Y, type FailRequestOptions as Z, type FulfillRequestOptions as _, type RequestHandler as a, type RequestActions as a0, type ResourceType as a1, type RouteOptions as a2, type ClearCookiesOptions as a3, type Cookie as a4, type DeleteCookieOptions as a5, type SetCookieOptions as a6, type WaitOptions as a7, type WaitResult as a8, type WaitState as a9, waitForAnyElement as aa, waitForElement as ab, waitForNavigation as ac, waitForNetworkIdle as ad, type FailureHint as ae, type FailureReason as af, type BatchResult as b, type StepResult as c, type AudioChunk as d, AudioInput as e, type AudioInputState as f, AudioOutput as g, type CaptureOptions as h, type RoundTripOptions as i, type RoundTripResult as j, type ActionOptions as k, type ActionResult as l, type ConsoleHandler as m, type ConsoleMessage as n, type ConsoleMessageType as o, type CustomSelectConfig as p, type DialogHandler as q, type DialogType as r, type Download as s, ElementNotFoundError as t, type EmulationState as u, type ErrorHandler as v, type FillOptions as w, type NetworkIdleOptions as x, Page as y, type PageError as z };
1334
+ export { type ContinueRequestOptions as $, type ActionType as A, type BatchOptions as B, type CaptureResult as C, type Dialog as D, type ElementInfo as E, type FileInput as F, type GeolocationOptions as G, Page as H, type InteractiveElement as I, type PageError as J, type PageSnapshot as K, type SnapshotNode as L, type SnapshotOptions as M, NavigationError as N, type SubmitOptions as O, type PlayOptions as P, type TypeOptions as Q, type RequestPattern as R, type Step as S, TimeoutError as T, type UserAgentMetadata as U, type UserAgentOptions as V, type ViewportOptions as W, type WaitForOptions as X, type DeviceDescriptor as Y, type DeviceName as Z, devices as _, type RequestHandler as a, type FailRequestOptions as a0, type FulfillRequestOptions as a1, type InterceptedRequest as a2, type RequestActions as a3, type ResourceType as a4, type RouteOptions as a5, type ClearCookiesOptions as a6, type Cookie as a7, type DeleteCookieOptions as a8, type SetCookieOptions as a9, type WaitOptions as aa, type WaitResult as ab, type WaitState as ac, waitForAnyElement as ad, waitForElement as ae, waitForNavigation as af, waitForNetworkIdle as ag, type FailureHint as ah, type FailureReason as ai, type BatchResult as b, type StepResult as c, type AudioChunk as d, AudioInput as e, type AudioInputState as f, AudioOutput as g, type CaptureOptions as h, type RoundTripOptions as i, type RoundTripResult as j, type ActionOptions as k, type ActionResult as l, type ConsoleHandler as m, type ConsoleMessage as n, type ConsoleMessageType as o, type CustomSelectConfig as p, type DialogHandler as q, type DialogType as r, type Download as s, ElementNotFoundError as t, type EmulationState as u, type ErrorHandler as v, type FillOptions as w, type FormField as x, type FormOption as y, type NetworkIdleOptions as z };
@@ -1,4 +1,4 @@
1
- import { C as CDPClient } from './client-7Nqka5MV.cjs';
1
+ import { C as CDPClient } from './client-DRqxBdHv.js';
2
2
 
3
3
  /**
4
4
  * Audio I/O type definitions
@@ -367,6 +367,10 @@ interface PageSnapshot {
367
367
  /** Text representation of the page */
368
368
  text: string;
369
369
  }
370
+ interface SnapshotOptions {
371
+ /** Restrict the snapshot to these accessibility roles */
372
+ roles?: string[];
373
+ }
370
374
  interface SnapshotNode {
371
375
  /** Accessibility role */
372
376
  role: string;
@@ -396,6 +400,29 @@ interface InteractiveElement {
396
400
  selector: string;
397
401
  /** Whether the element is disabled */
398
402
  disabled?: boolean;
403
+ /** Whether the element is checked */
404
+ checked?: boolean;
405
+ /** Current value where relevant */
406
+ value?: string;
407
+ }
408
+ interface FormOption {
409
+ value: string;
410
+ text: string;
411
+ selected: boolean;
412
+ disabled: boolean;
413
+ }
414
+ interface FormField {
415
+ tag: string;
416
+ type: string;
417
+ id?: string;
418
+ name?: string;
419
+ value?: string | string[] | null;
420
+ checked?: boolean;
421
+ required: boolean;
422
+ disabled: boolean;
423
+ label?: string;
424
+ placeholder?: string;
425
+ options?: FormOption[];
399
426
  }
400
427
  interface FailureHint {
401
428
  /** Suggested selector */
@@ -882,6 +909,10 @@ declare class Page {
882
909
  * Get text content from the page or a specific element
883
910
  */
884
911
  text(selector?: string): Promise<string>;
912
+ /**
913
+ * Enumerate form controls on the page with labels and current state.
914
+ */
915
+ forms(): Promise<FormField[]>;
885
916
  /**
886
917
  * Set files on a file input
887
918
  */
@@ -904,7 +935,7 @@ declare class Page {
904
935
  /**
905
936
  * Get an accessibility tree snapshot of the page
906
937
  */
907
- snapshot(): Promise<PageSnapshot>;
938
+ snapshot(options?: SnapshotOptions): Promise<PageSnapshot>;
908
939
  /**
909
940
  * Export the current ref map for cross-exec reuse (CLI).
910
941
  */
@@ -1094,9 +1125,17 @@ declare class Page {
1094
1125
  private withStaleNodeRetry;
1095
1126
  /**
1096
1127
  * Find an element using single or multiple selectors
1097
- * Supports ref: prefix for ref-based selectors (e.g., "ref:e4")
1128
+ * Supports ref:, text:, and role: selectors.
1098
1129
  */
1099
1130
  private findElement;
1131
+ private formatEvaluationError;
1132
+ private resolveSpecialSelector;
1133
+ private readCheckedState;
1134
+ private readInputType;
1135
+ private getAssociatedLabelNodeId;
1136
+ private objectIdToNode;
1137
+ private tryClickAssociatedLabel;
1138
+ private tryToggleViaLabel;
1100
1139
  /**
1101
1140
  * Ensure we have a valid root node ID
1102
1141
  */
@@ -1182,7 +1221,7 @@ declare class Page {
1182
1221
  */
1183
1222
 
1184
1223
  type FailureReason = 'missing' | 'hidden' | 'covered' | 'disabled' | 'readonly' | 'detached' | 'replaced' | 'notEditable' | 'timeout' | 'navigation' | 'cdpError' | 'unknown';
1185
- type ActionType = 'goto' | 'click' | 'fill' | 'type' | 'select' | 'check' | 'uncheck' | 'submit' | 'press' | 'shortcut' | 'focus' | 'hover' | 'scroll' | 'wait' | 'snapshot' | 'screenshot' | 'evaluate' | 'text' | 'switchFrame' | 'switchToMain' | 'assertVisible' | 'assertExists' | 'assertText' | 'assertUrl' | 'assertValue';
1224
+ type ActionType = 'goto' | 'click' | 'fill' | 'type' | 'select' | 'check' | 'uncheck' | 'submit' | 'press' | 'shortcut' | 'focus' | 'hover' | 'scroll' | 'wait' | 'snapshot' | 'forms' | 'screenshot' | 'evaluate' | 'text' | 'newTab' | 'closeTab' | 'switchFrame' | 'switchToMain' | 'assertVisible' | 'assertExists' | 'assertText' | 'assertUrl' | 'assertValue';
1186
1225
  interface Step {
1187
1226
  /** Action type */
1188
1227
  action: ActionType;
@@ -1192,6 +1231,8 @@ interface Step {
1192
1231
  url?: string;
1193
1232
  /** Value for fill, type, select, evaluate actions */
1194
1233
  value?: string | string[];
1234
+ /** Target ID for tab operations */
1235
+ targetId?: string;
1195
1236
  /** Key for press action */
1196
1237
  key?: string;
1197
1238
  /** Key combo for shortcut action (e.g. "Control+a", "Meta+Shift+z") */
@@ -1290,4 +1331,4 @@ interface BatchResult {
1290
1331
  totalDurationMs: number;
1291
1332
  }
1292
1333
 
1293
- export { type InterceptedRequest as $, type ActionType as A, type BatchOptions as B, type CaptureResult as C, type Dialog as D, type ElementInfo as E, type FileInput as F, type GeolocationOptions as G, type PageSnapshot as H, type InteractiveElement as I, type SnapshotNode as J, type SubmitOptions as K, type TypeOptions as L, type UserAgentOptions as M, NavigationError as N, type DeviceDescriptor as O, type PlayOptions as P, type DeviceName as Q, type RequestPattern as R, type Step as S, TimeoutError as T, type UserAgentMetadata as U, type ViewportOptions as V, type WaitForOptions as W, devices as X, type ContinueRequestOptions as Y, type FailRequestOptions as Z, type FulfillRequestOptions as _, type RequestHandler as a, type RequestActions as a0, type ResourceType as a1, type RouteOptions as a2, type ClearCookiesOptions as a3, type Cookie as a4, type DeleteCookieOptions as a5, type SetCookieOptions as a6, type WaitOptions as a7, type WaitResult as a8, type WaitState as a9, waitForAnyElement as aa, waitForElement as ab, waitForNavigation as ac, waitForNetworkIdle as ad, type FailureHint as ae, type FailureReason as af, type BatchResult as b, type StepResult as c, type AudioChunk as d, AudioInput as e, type AudioInputState as f, AudioOutput as g, type CaptureOptions as h, type RoundTripOptions as i, type RoundTripResult as j, type ActionOptions as k, type ActionResult as l, type ConsoleHandler as m, type ConsoleMessage as n, type ConsoleMessageType as o, type CustomSelectConfig as p, type DialogHandler as q, type DialogType as r, type Download as s, ElementNotFoundError as t, type EmulationState as u, type ErrorHandler as v, type FillOptions as w, type NetworkIdleOptions as x, Page as y, type PageError as z };
1334
+ export { type ContinueRequestOptions as $, type ActionType as A, type BatchOptions as B, type CaptureResult as C, type Dialog as D, type ElementInfo as E, type FileInput as F, type GeolocationOptions as G, Page as H, type InteractiveElement as I, type PageError as J, type PageSnapshot as K, type SnapshotNode as L, type SnapshotOptions as M, NavigationError as N, type SubmitOptions as O, type PlayOptions as P, type TypeOptions as Q, type RequestPattern as R, type Step as S, TimeoutError as T, type UserAgentMetadata as U, type UserAgentOptions as V, type ViewportOptions as W, type WaitForOptions as X, type DeviceDescriptor as Y, type DeviceName as Z, devices as _, type RequestHandler as a, type FailRequestOptions as a0, type FulfillRequestOptions as a1, type InterceptedRequest as a2, type RequestActions as a3, type ResourceType as a4, type RouteOptions as a5, type ClearCookiesOptions as a6, type Cookie as a7, type DeleteCookieOptions as a8, type SetCookieOptions as a9, type WaitOptions as aa, type WaitResult as ab, type WaitState as ac, waitForAnyElement as ad, waitForElement as ae, waitForNavigation as af, waitForNetworkIdle as ag, type FailureHint as ah, type FailureReason as ai, type BatchResult as b, type StepResult as c, type AudioChunk as d, AudioInput as e, type AudioInputState as f, AudioOutput as g, type CaptureOptions as h, type RoundTripOptions as i, type RoundTripResult as j, type ActionOptions as k, type ActionResult as l, type ConsoleHandler as m, type ConsoleMessage as n, type ConsoleMessageType as o, type CustomSelectConfig as p, type DialogHandler as q, type DialogType as r, type Download as s, ElementNotFoundError as t, type EmulationState as u, type ErrorHandler as v, type FillOptions as w, type FormField as x, type FormOption as y, type NetworkIdleOptions as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "browser-pilot",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "description": "Lightweight CDP-based browser automation for Node.js, Bun, and Cloudflare Workers",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",