# `Fluffy.FilePayload`
[🔗](https://github.com/ftes/fluffy/blob/v0.8.0/lib/fluffy/file_payload.ex#L1)

An in-memory file selected with `Fluffy.set_input_files/4`.

`bytes` contains the raw file bytes. `content_type` may be omitted; Fluffy
then infers it from `name`, falling back to `application/octet-stream` in
the same way as Playwright.

Use this value for generated fixtures and for tests that run against a
remote Playwright browser without sharing a filesystem.

# `t`

```elixir
@type t() :: %Fluffy.FilePayload{
  bytes: binary(),
  content_type: String.t() | nil,
  name: String.t()
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
