Skip to content

v2: File upload and download handling #87

Description

@loyality7

Context

v1 has no way to drive a <input type=file> or catch a download. Both are common automation needs (form submission with an attachment, exporting a report).

Scope

  • Upload: set files on a file input without a native file picker UI appearing.
  • Download: intercept a download, cap its size, let the caller choose the destination.

Acceptance criteria

  • page.setInputFiles(selector, paths) uploads without any picker UI
  • A download is captured, size-capped, and written to a caller-chosen destination
  • Oversized downloads are refused, not silently truncated
  • Device tests cover both against fixture-site forms

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1Required for v1, not blocking other workarea:inputFiles, dialogs, locators, element handles

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions