Get an element node with ``wdom_id``.

        If this document does not have the element with the id, return None.

def getElementByWdomId(self, id: Union[str]) -> Optional[WebEventTarget]:
        """Get an element node with ``wdom_id``.

        If this document does not have the element with the id, return None.
        """
        elm = getElementByWdomId(id)
        if elm and elm.ownerDocument is self:
            return elm
        return None