LANGUAGE » JAVASCRIPT » BROWSER

Web console helpers

Get elements by xpath

Evaluates the XPath xpath expression in the context of element and returns an array of matching nodes.

js
$x('//div')