Phoenix.LiveViewTest.Element (Phoenix LiveView v0.17.0) View Source

The struct returned by Phoenix.LiveViewTest.element/3.

The following public fields represent the element:

  • selector - The query selector
  • text_filter - The text to further filter the element

See the Phoenix.LiveViewTest documentation for usage.