Example of DOMElement implementation

could somebody please show some example of using DOMElement class (for example for DIV text). I can’t find any good resource.

Thanks in advance.

If you want to get a DIV, you can do something like:

What do you want to do with DOMElement? Here is the documentation:

This might help: