Finds a heading (h1-h6) by its text content.
When I pw find heading by text "Dashboard" Copy
When I pw find heading by text "Dashboard"
Finds a heading (h1-h6) by its text content.