queryElement method
Implementation
DOMNode? queryElement(String query) {
if (query.isEmpty) return null;
final rootDOMNode = this.rootDOMNode;
if (rootDOMNode is! DOMElement) return null;
var node = rootDOMNode.select(query);
return node;
}