Function wrapElement

Like wrapElementNow except it will waitForMutateTime.

  • Parameters

    • element: Element
    • Optionaloptions: { ignoreMove?: boolean; wrapper?: HTMLElement | (keyof HTMLElementTagNameMap) }

    Returns Promise<HTMLElement>