An in-memory file passed to a Playwright file input.
buffer contains the raw file bytes. It is base64-encoded only when the
payload is serialized for the Playwright protocol.
Reference: https://playwright.dev/docs/api/class-locator#locator-set-input-files