electron-agent-bridge
    Preparing search index...
    • record.events: one page of recorded actions, with page names and what was evicted unread.

      Parameters

      • recorder: InputRecorder
      • targets: { list(): readonly { id: string; name: string }[] }
      • input: { limit?: number; since?: number }

      Returns Envelope<
          {
              dropped: number;
              items: {
                  action: | {
                      button?: "left"
                      | "right"
                      | "middle";
                      clickCount?: number;
                      locator: {
                          css?: string;
                          exact?: boolean;
                          name?: string;
                          nth?: number;
                          ref?: string;
                          role?: string;
                          text?: string;
                      };
                      modifiers?: ("Alt" | "Control" | "Meta" | "Shift")[];
                      type: "click";
                  }
                  | {
                      locator: {
                          css?: string;
                          exact?: boolean;
                          name?: string;
                          nth?: number;
                          ref?: string;
                          role?: string;
                          text?: string;
                      };
                      type: "hover";
                  }
                  | {
                      locator: {
                          css?: string;
                          exact?: boolean;
                          name?: string;
                          nth?: number;
                          ref?: string;
                          role?: string;
                          text?: string;
                      };
                      type: "fill";
                      value: string;
                  }
                  | {
                      fields: {
                          locator: {
                              css?: string;
                              exact?: boolean;
                              name?: string;
                              nth?: number;
                              ref?: string;
                              role?: string;
                              text?: string;
                          };
                          value: string
                          | boolean
                          | string[];
                      }[];
                      type: "fillForm";
                  }
                  | {
                      locator?: {
                          css?: string;
                          exact?: boolean;
                          name?: string;
                          nth?: number;
                          ref?: string;
                          role?: string;
                          text?: string;
                      };
                      text: string;
                      type: "type";
                  }
                  | {
                      key: string;
                      locator?: {
                          css?: string;
                          exact?: boolean;
                          name?: string;
                          nth?: number;
                          ref?: string;
                          role?: string;
                          text?: string;
                      };
                      type: "press";
                  }
                  | {
                      locator: {
                          css?: string;
                          exact?: boolean;
                          name?: string;
                          nth?: number;
                          ref?: string;
                          role?: string;
                          text?: string;
                      };
                      type: "check";
                  }
                  | {
                      locator: {
                          css?: string;
                          exact?: boolean;
                          name?: string;
                          nth?: number;
                          ref?: string;
                          role?: string;
                          text?: string;
                      };
                      type: "uncheck";
                  }
                  | {
                      locator: {
                          css?: string;
                          exact?: boolean;
                          name?: string;
                          nth?: number;
                          ref?: string;
                          role?: string;
                          text?: string;
                      };
                      type: "select";
                      values: string[];
                  }
                  | {
                      deltaX?: number;
                      deltaY?: number;
                      locator?: {
                          css?: string;
                          exact?: boolean;
                          name?: string;
                          nth?: number;
                          ref?: string;
                          role?: string;
                          text?: string;
                      };
                      type: "scroll";
                  }
                  | {
                      files: string[];
                      locator: {
                          css?: string;
                          exact?: boolean;
                          name?: string;
                          nth?: number;
                          ref?: string;
                          role?: string;
                          text?: string;
                      };
                      type: "upload";
                  }
                  | {
                      from: {
                          css?: string;
                          exact?: boolean;
                          name?: string;
                          nth?: number;
                          ref?: string;
                          role?: string;
                          text?: string;
                      };
                      to: {
                          css?: string;
                          exact?: boolean;
                          name?: string;
                          nth?: number;
                          ref?: string;
                          role?: string;
                          text?: string;
                      };
                      type: "drag";
                  };
                  secret?: boolean;
                  seq: number;
                  source: "user"
                  | "agent";
                  target: string;
                  ts: number;
                  url?: string;
              }[];
              more: boolean;
              nextSeq: number;
              recording: boolean;
          },
      >