Interface TestElementOpts

An object with keys to check elements against. If a key is tag_name, tag_type or tag_contains, it will check the value against that specific value. Otherwise, it will check an attribute with the key's name.

Hierarchy

  • TestElementOpts

Indexable

[attributeName: string]: undefined | string | ((attributeValue: string) => boolean)

Properties

tag_contains?: string | ((data?: string) => boolean)
tag_name?: string | ((name: string) => boolean)
tag_type?: string | ((name: string) => boolean)