@vpalmisano/webrtcperf-js
    Preparing search index...

    Function getElement

    • Returns the first element matching the selector.

      Parameters

      • selector: string

        The selector to get the element from.

      • timeout: number = 60000

        The timeout to wait for the element to be present in the DOM.

      • throwError: boolean = false

        Whether to throw an error if the element is not found.

      Returns Promise<null | Element>

      The element matching the selector.