Html Element Locator

Properties

classNames?

optional classNames: string[]

List of HTML element class names to match.


elementId?

optional elementId: string

ID of the HTML element to match.


elementType?

optional elementType: string

HTML element type name to match. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element for list. button


innerText?

optional innerText: string

Inner text of the HTML element to match.