What is DOMXPATH?

Please help me to define what it mean…

@Pham_Hoang_Nam_FA.G0.DN

Hello Pham,

welcome in the UiPath Community.

I assume you mean:

  • DOM = Document Object Model, cross-platform and language-independent interface that treats an XML or HTML document as a tree structure wherein each node is an object representing a part of the document.
    Wikipedia

  • XPath = XML Path Language, query language for selecting nodes in an XML document.
    Wikipedia

Best regards
Stefan

Hello @StefanSchnell,
I appreciate your answer
So the differences about XPATH and DOM is:

  • Xpath allows the user to get information from those nodes and the parent information and the browser that contains it.
  • While DOM only gets information of the nodes. DOM can adjust those nodes.
    Is my way of thinking correct?

Best regards
Pham Hoang Nam

@Pham_Hoang_Nam_FA.G0.DN

Hello Pham,

yes. But as far as I know XPath doesn’t delivers information about the browser, only information about the document.

Best regards
Stefan