[DomCrawler] Changed typehints form DomNode to DomElement

Closes #10924