browser-pilot 0.0.14 → 0.0.16

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 (44) hide show
  1. package/README.md +89 -667
  2. package/dist/actions.cjs +1073 -41
  3. package/dist/actions.d.cts +11 -3
  4. package/dist/actions.d.ts +11 -3
  5. package/dist/actions.mjs +1 -1
  6. package/dist/browser-ZCR6AA4D.mjs +11 -0
  7. package/dist/browser.cjs +1431 -62
  8. package/dist/browser.d.cts +4 -4
  9. package/dist/browser.d.ts +4 -4
  10. package/dist/browser.mjs +4 -4
  11. package/dist/cdp.cjs +5 -1
  12. package/dist/cdp.d.cts +1 -1
  13. package/dist/cdp.d.ts +1 -1
  14. package/dist/cdp.mjs +1 -1
  15. package/dist/{chunk-7NDR6V7S.mjs → chunk-6GBYX7C2.mjs} +1405 -528
  16. package/dist/{chunk-KIFB526Y.mjs → chunk-BVZALQT4.mjs} +5 -1
  17. package/dist/chunk-DTVRFXKI.mjs +35 -0
  18. package/dist/chunk-EZNZ72VA.mjs +563 -0
  19. package/dist/{chunk-SPSZZH22.mjs → chunk-LCNFBXB5.mjs} +9 -33
  20. package/dist/{chunk-IN5HPAPB.mjs → chunk-NNEHWWHL.mjs} +28 -10
  21. package/dist/chunk-TJ5B56NV.mjs +804 -0
  22. package/dist/{chunk-XMJABKCF.mjs → chunk-V3VLBQAM.mjs} +1073 -41
  23. package/dist/cli.mjs +2799 -1176
  24. package/dist/{client-Ck2nQksT.d.cts → client-B5QBRgIy.d.cts} +2 -0
  25. package/dist/{client-Ck2nQksT.d.ts → client-B5QBRgIy.d.ts} +2 -0
  26. package/dist/{client-3AFV2IAF.mjs → client-JWWZWO6L.mjs} +4 -2
  27. package/dist/index.cjs +1441 -52
  28. package/dist/index.d.cts +5 -5
  29. package/dist/index.d.ts +5 -5
  30. package/dist/index.mjs +19 -7
  31. package/dist/page-IUUTJ3SW.mjs +7 -0
  32. package/dist/providers.cjs +637 -2
  33. package/dist/providers.d.cts +2 -2
  34. package/dist/providers.d.ts +2 -2
  35. package/dist/providers.mjs +17 -3
  36. package/dist/{types-CjT0vClo.d.ts → types-BflRmiDz.d.cts} +17 -3
  37. package/dist/{types-BSoh5v1Y.d.cts → types-BzM-IfsL.d.ts} +17 -3
  38. package/dist/types-DeVSWhXj.d.cts +142 -0
  39. package/dist/types-DeVSWhXj.d.ts +142 -0
  40. package/package.json +1 -1
  41. package/dist/browser-LZTEHUDI.mjs +0 -9
  42. package/dist/chunk-BRAFQUMG.mjs +0 -229
  43. package/dist/types--wXNHUwt.d.cts +0 -56
  44. package/dist/types--wXNHUwt.d.ts +0 -56
@@ -1,6 +1,6 @@
1
- import { J as Page, S as Step, B as BatchOptions, b as BatchResult } from './types-BSoh5v1Y.cjs';
2
- export { A as ActionType, aj as FailureReason, c as RecordOptions, d as StepResult } from './types-BSoh5v1Y.cjs';
3
- import './client-Ck2nQksT.cjs';
1
+ import { J as Page, S as Step, B as BatchOptions, b as BatchResult } from './types-BflRmiDz.cjs';
2
+ export { A as ActionType, aj as FailureReason, c as RecordOptions, d as StepResult } from './types-BflRmiDz.cjs';
3
+ import './client-B5QBRgIy.cjs';
4
4
 
5
5
  /**
6
6
  * Batch action executor
@@ -32,6 +32,14 @@ declare class BatchExecutor {
32
32
  * Uses the last matched selector tracked by Page, falls back to first selector if unavailable.
33
33
  */
34
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;
35
43
  }
36
44
  /**
37
45
  * Add batch execution capability to Page class
package/dist/actions.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { J as Page, S as Step, B as BatchOptions, b as BatchResult } from './types-CjT0vClo.js';
2
- export { A as ActionType, aj as FailureReason, c as RecordOptions, d as StepResult } from './types-CjT0vClo.js';
3
- import './client-Ck2nQksT.js';
1
+ import { J as Page, S as Step, B as BatchOptions, b as BatchResult } from './types-BzM-IfsL.js';
2
+ export { A as ActionType, aj as FailureReason, c as RecordOptions, d as StepResult } from './types-BzM-IfsL.js';
3
+ import './client-B5QBRgIy.js';
4
4
 
5
5
  /**
6
6
  * Batch action executor
@@ -32,6 +32,14 @@ declare class BatchExecutor {
32
32
  * Uses the last matched selector tracked by Page, falls back to first selector if unavailable.
33
33
  */
34
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;
35
43
  }
36
44
  /**
37
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-XMJABKCF.mjs";
5
+ } from "./chunk-V3VLBQAM.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-TJ5B56NV.mjs";
5
+ import "./chunk-LCNFBXB5.mjs";
6
+ import "./chunk-6GBYX7C2.mjs";
7
+ import "./chunk-DTVRFXKI.mjs";
8
+ export {
9
+ Browser,
10
+ connect
11
+ };