Phoenix.LiveViewTest.View (Phoenix LiveView v0.16.4) View Source

The struct for testing LiveViews.

The following public fields represent the LiveView:

  • id - The DOM id of the LiveView
  • module - The module of the running LiveView
  • pid - The Pid of the running LiveView
  • endpoint - The endpoint for the LiveView
  • target - The target to scope events to

See the Phoenix.LiveViewTest documentation for usage.