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

    Find an element in the test window

    Starting node (optional)

    CSS selector to use

    The first matching element or 'null' if not matched

    • Type Parameters

      • E extends Element = TestQueriedElement

      Parameters

      • startnode: ParentNode
      • selector: string

      Returns null | E

    • Type Parameters

      • E extends Element = TestQueriedElement

      Parameters

      • selector: string

      Returns null | E