browser-pilot 0.0.13 → 0.0.15

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
- import { H as Page, S as Step, B as BatchOptions, b as BatchResult } from './types-BXMGFtnB.cjs';
2
- export { A as ActionType, ai as FailureReason, c as StepResult } from './types-BXMGFtnB.cjs';
3
- import './client-DRqxBdHv.cjs';
1
+ import { J as Page, S as Step, B as BatchOptions, b as BatchResult } from './types-C9ySEdOX.cjs';
2
+ export { A as ActionType, aj as FailureReason, c as RecordOptions, d as StepResult } from './types-C9ySEdOX.cjs';
3
+ import './client-B5QBRgIy.cjs';
4
4
 
5
5
  /**
6
6
  * Batch action executor
@@ -13,6 +13,16 @@ declare class BatchExecutor {
13
13
  * Execute a batch of steps
14
14
  */
15
15
  execute(steps: Step[], options?: BatchOptions): Promise<BatchResult>;
16
+ private createRecordingContext;
17
+ private getPageUrlSafe;
18
+ /**
19
+ * Capture a recording screenshot frame with optional highlight overlay
20
+ */
21
+ private captureRecordingFrame;
22
+ /**
23
+ * Write recording manifest to disk
24
+ */
25
+ private writeRecordingManifest;
16
26
  /**
17
27
  * Execute a single step
18
28
  */
@@ -22,6 +32,14 @@ declare class BatchExecutor {
22
32
  * Uses the last matched selector tracked by Page, falls back to first selector if unavailable.
23
33
  */
24
34
  private getUsedSelector;
35
+ private ensureTraceHooks;
36
+ private waitForWsMessage;
37
+ private payloadMatchesWhere;
38
+ private findRecentWsMessage;
39
+ private assertNoConsoleErrors;
40
+ private assertTextChanged;
41
+ private assertPermission;
42
+ private assertMediaTrackLive;
25
43
  }
26
44
  /**
27
45
  * Add batch execution capability to Page class
package/dist/actions.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { H as Page, S as Step, B as BatchOptions, b as BatchResult } from './types-CzgQjai9.js';
2
- export { A as ActionType, ai as FailureReason, c as StepResult } from './types-CzgQjai9.js';
3
- import './client-DRqxBdHv.js';
1
+ import { J as Page, S as Step, B as BatchOptions, b as BatchResult } from './types-Cvvf0oGu.js';
2
+ export { A as ActionType, aj as FailureReason, c as RecordOptions, d as StepResult } from './types-Cvvf0oGu.js';
3
+ import './client-B5QBRgIy.js';
4
4
 
5
5
  /**
6
6
  * Batch action executor
@@ -13,6 +13,16 @@ declare class BatchExecutor {
13
13
  * Execute a batch of steps
14
14
  */
15
15
  execute(steps: Step[], options?: BatchOptions): Promise<BatchResult>;
16
+ private createRecordingContext;
17
+ private getPageUrlSafe;
18
+ /**
19
+ * Capture a recording screenshot frame with optional highlight overlay
20
+ */
21
+ private captureRecordingFrame;
22
+ /**
23
+ * Write recording manifest to disk
24
+ */
25
+ private writeRecordingManifest;
16
26
  /**
17
27
  * Execute a single step
18
28
  */
@@ -22,6 +32,14 @@ declare class BatchExecutor {
22
32
  * Uses the last matched selector tracked by Page, falls back to first selector if unavailable.
23
33
  */
24
34
  private getUsedSelector;
35
+ private ensureTraceHooks;
36
+ private waitForWsMessage;
37
+ private payloadMatchesWhere;
38
+ private findRecentWsMessage;
39
+ private assertNoConsoleErrors;
40
+ private assertTextChanged;
41
+ private assertPermission;
42
+ private assertMediaTrackLive;
25
43
  }
26
44
  /**
27
45
  * Add batch execution capability to Page class
package/dist/actions.mjs CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  BatchExecutor,
3
3
  addBatchToPage,
4
4
  validateSteps
5
- } from "./chunk-A2ZRAEO3.mjs";
5
+ } from "./chunk-7YVCOL2W.mjs";
6
6
  import "./chunk-JXAUPHZM.mjs";
7
7
  export {
8
8
  BatchExecutor,
@@ -0,0 +1,11 @@
1
+ import {
2
+ Browser,
3
+ connect
4
+ } from "./chunk-WPNW23CE.mjs";
5
+ import "./chunk-LCNFBXB5.mjs";
6
+ import "./chunk-USYSHCI3.mjs";
7
+ import "./chunk-DTVRFXKI.mjs";
8
+ export {
9
+ Browser,
10
+ connect
11
+ };