"given the following piece of html:"
const html = `
<body>
<ul>
<li>1-1</li>
<li>1-2</li>
<li>1-3</li>
</ul>
<ul>
<li>2-1</li>
<li>2-2</li>
<li>2-3</li>
</ul>
<ul>
<li>3-1</li>
<li>3-2</li>
<li>3-3</li>
</ul>
</body>`
"and this version of xray"
const xray = require("x-ray")
;`What docs say about collections:
X-ray also has support for selecting collections of tags. While x('ul', 'li') will only select the first list item in an unordered list, x('ul', ['li']) will select all of them.
Additionally, X-ray supports "collections of collections" allowing you to smartly select all list items in all lists with a command like this: x(['ul'], ['li']).`
"***"