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.
- package/README.md +82 -617
- package/dist/actions.cjs +1438 -17
- package/dist/actions.d.cts +21 -3
- package/dist/actions.d.ts +21 -3
- package/dist/actions.mjs +1 -1
- package/dist/browser-MEWT75IB.mjs +11 -0
- package/dist/browser.cjs +1583 -22
- package/dist/browser.d.cts +12 -3
- package/dist/browser.d.ts +12 -3
- package/dist/browser.mjs +3 -3
- package/dist/cdp.cjs +36 -3
- package/dist/cdp.d.cts +1 -1
- package/dist/cdp.d.ts +1 -1
- package/dist/cdp.mjs +3 -1
- package/dist/{chunk-A2ZRAEO3.mjs → chunk-7YVCOL2W.mjs} +1428 -17
- package/dist/chunk-BVZALQT4.mjs +303 -0
- package/dist/chunk-DTVRFXKI.mjs +35 -0
- package/dist/{chunk-HP6R3W32.mjs → chunk-LCNFBXB5.mjs} +33 -6
- package/dist/chunk-LUGLEMVR.mjs +11 -0
- package/dist/chunk-USYSHCI3.mjs +8640 -0
- package/dist/chunk-WPNW23CE.mjs +466 -0
- package/dist/{chunk-VDAMDOS6.mjs → chunk-ZAXQ5OTV.mjs} +151 -7
- package/dist/cli.mjs +3225 -8434
- package/dist/{client-DRqxBdHv.d.ts → client-B5QBRgIy.d.cts} +10 -6
- package/dist/{client-DRqxBdHv.d.cts → client-B5QBRgIy.d.ts} +10 -6
- package/dist/client-JWWZWO6L.mjs +12 -0
- package/dist/index.cjs +1629 -24
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.mjs +3 -3
- package/dist/page-XPS6IC6V.mjs +7 -0
- package/dist/transport-WHEBAZUP.mjs +83 -0
- package/dist/{types-CzgQjai9.d.ts → types-C9ySEdOX.d.cts} +78 -4
- package/dist/{types-BXMGFtnB.d.cts → types-Cvvf0oGu.d.ts} +78 -4
- package/package.json +2 -2
package/dist/actions.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { A as ActionType,
|
|
3
|
-
import './client-
|
|
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 {
|
|
2
|
-
export { A as ActionType,
|
|
3
|
-
import './client-
|
|
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