domutils
    Preparing search index...

    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.

    interface TestElementOpts {
        tag_contains?: string | ((data?: string) => boolean);
        tag_name?: string | ((name: string) => boolean);
        tag_type?: string | ((name: string) => boolean);
        [attributeName: string]:
            | undefined
            | string
            | ((attributeValue: string) => boolean);
    }

    Indexable

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

    Properties

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