Headingvariable
Call this InteractorConstructor to initialize a heading Interactor.
The heading interactor can be used to assert on the state of headings on the page,
represented by the h1 through h6 tags.
Example
await Heading('Welcome!').exists();
Filters
level: number – The level of the heading, for example, the level ofh3is3.visible: boolean – Filter by visibility. Defaults totrue. SeeisVisible.