Playwright Cucumber TS Steps
    Preparing search index...

    Function expectTextInsideFrame

    • Asserts that an element inside a specific <iframe> contains the expected text. Supports fixtures for reusable selectors and text. Uses Playwright's web-first assertions for automatic retries.

      Parameters

      • page: any
      • elementSelectorKey: string
      • frameSelectorKey: string
      • textKey: string

      Returns Promise<void>

      Then I pw expect "selectors.successMessage" inside frame "selectors.uploadFrame" to have text "texts.uploadComplete"