rea-agents - v2.1.0
    Preparing search index...

    Function captureElectronWorkers

    • Inventory root-confined worker targets without attaching to them.

      Parameters

      • input: {
            completeness: CdpCaptureCompleteness;
            connection: CdpConnection;
            frameIds: ReadonlySet<string>;
            limitations: string[];
            request: {
                allowed_file_roots: string[];
                approved: true;
                cdp_endpoint: string;
                include_script_sources: boolean;
                limits: {
                    max_dom_nodes: number;
                    max_frames: number;
                    max_resources: number;
                    max_script_source_bytes: number;
                    max_scripts: number;
                    max_total_script_source_bytes: number;
                    max_workers: number;
                };
                observation_ms: number;
                source_capture_approved: boolean;
                target_id: string;
            };
            roots: readonly string[];
            signal?: AbortSignal;
            target: CdpEndpointTarget;
        }

      Returns Promise<
          {
              attached: boolean;
              file_path: string;
              opener_target_id: string
              | null;
              parent_frame_id: string | null;
              target_id: string;
              type: string;
          }[],
      >