Playwright Cucumber TS Steps
    Preparing search index...

    Function expectElementToNotHaveExactAttribute

    • Asserts that a specific attribute of an element does NOT match the expected value. Supports fixtures for reusable selectors, attributes, and values.

      Parameters

      • page: any

        The Playwright page object

      • selectorKey: string

        The selector key (can be a fixture key or raw CSS selector)

      • attrKey: string

        The attribute key (can be a fixture key or raw attribute name)

      • valueKey: string

        The value key (can be a fixture key or raw value)

      Returns Promise<void>

      Then I pw do not see exact attribute "href" with value "/wrong-url"