effect-playwright
    Preparing search index...

    Class PlaywrightFileChooser

    0.1.2

    Hierarchy

    • Readonly<
          {
              element: () => ElementHandle;
              isMultiple: Effect<boolean>;
              page: () => PlaywrightPageService;
              setFiles: (
                  files:
                      | string
                      | readonly string[]
                      | { buffer: Buffer; mimeType: string; name: string }
                      | readonly { buffer: Buffer; mimeType: string; name: string }[],
                  options?: { noWaitAfter?: boolean; timeout?: number },
              ) => Effect<void, PlaywrightError>;
          },
      > & { _tag: "PlaywrightFileChooser" }
      • PlaywrightFileChooser
    Index

    Constructors

    Properties

    Methods

    Constructors

    • Parameters

      • args: {
            element: () => ElementHandle;
            isMultiple: Effect<boolean>;
            page: () => PlaywrightPageService;
            setFiles: (
                files:
                    | string
                    | readonly string[]
                    | { buffer: Buffer; mimeType: string; name: string }
                    | readonly { buffer: Buffer; mimeType: string; name: string }[],
                options?: { noWaitAfter?: boolean; timeout?: number },
            ) => Effect<void, PlaywrightError>;
        }

      Returns PlaywrightFileChooser

    Properties

    _tag: "PlaywrightFileChooser"
    element: () => ElementHandle
    isMultiple: Effect<boolean>
    setFiles: (
        files:
            | string
            | readonly string[]
            | { buffer: Buffer; mimeType: string; name: string }
            | readonly { buffer: Buffer; mimeType: string; name: string }[],
        options?: { noWaitAfter?: boolean; timeout?: number },
    ) => Effect<void, PlaywrightError>

    Methods