Playwright Cucumber TS Steps
    Preparing search index...

    Function expectElementToHaveExactValue

    • Asserts that a form field (input, textarea, select) has a specific value (exact match). Supports fixtures for reusable selectors and values.

      Parameters

      • page: any

        The Playwright page object

      • selectorKey: string

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

      • valueKey: string

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

      Returns Promise<void>

      Then I pw see exact value "john_doe"