📜  通过 xpath javascript 代码示例打印元素

📅  最后修改于: 2022-03-11 15:01:47.592000             🧑  作者: Mango

代码示例1
document.evaluate('XPATH HERE', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;