- Selenium WebDriver Quick Start Guide
- Pinakin Chaubal
- 215字
- 2021-06-24 18:26:28
What is the DOM?
The DOM is an application programming interface that is linked to HTML, XHTML, or XML documents and treats these similar to a tree where each node in the tree represents a part of the document.
In simple words, the DOM can be compared to a tree where there is a root node, intermediate nodes, and leaf nodes.
Shown here is a sample DOM:

In the preceding diagram, there are three leaf nodes, two intermediate nodes, and one root node. All of this is contained in a document. The question that arises next is: how do we get to a particular node in this tree structure? This is where terms such as XPath and CSS come into picture.
XPath stands for XML Path and is a querying language to query the nodes in a DOM.
CSS stands for Cascading Style Sheets and is a style sheet language used for describing the look and format of a document written in any markup language.
- Mastering ElasticSearch
- 阿里云數字新基建系列:云原生操作系統Kubernetes
- Learning Android Intents
- 嵌入式Linux系統開發:基于Yocto Project
- Kubernetes網絡權威指南:基礎、原理與實踐
- Linux集群和自動化運維
- Implementing Azure DevOps Solutions
- Linux系統安全基礎:二進制代碼安全性分析基礎與實踐
- Ceph分布式存儲實戰
- Fedora 12 Linux應用基礎
- Kali Linux高級滲透測試
- Linux基礎使用與案例
- AWS SysOps Cookbook
- 分布式高可用架構之道
- Agile IT Security Implementation Methodology