# `Phoenix.LiveViewTest.Upload`
[🔗](https://github.com/phoenixframework/phoenix_live_view/blob/v1.2.12/lib/phoenix_live_view/test/structs.ex#L46)

The struct returned by `Phoenix.LiveViewTest.file_input/4`.

The following public fields represent the element:

  * `selector` - The query selector
  * `entries` - The list of selected file entries

See the `Phoenix.LiveViewTest` documentation for usage.

---

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