qR | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Find a unique element in the test window, throw if not found

    Starting node (optional)

    CSS selector to use

    The only matching element. Throws if not found

    • Type Parameters

      • E extends HTMLElement = TestQueriedElement

      Parameters

      • startnode: ParentNode
      • selector: string

      Returns E

    • Type Parameters

      • E extends HTMLElement = TestQueriedElement

      Parameters

      • selector: string

      Returns E