Fork me on GitHub
Fragment Identifiers below are mapped into their JS API equivalents. Text within the parentheticals is decoded (because URI escaping) and then passed to the chosen function. Open the console to see output.
  1. #querySelector(.content h3)
  2. #querySelectorAll(.content li)
  3. #evaluate(//*[@class='content']//li)

Testing Targeting Types

Of these types:

  1. querySelector - find first via CSS selector
  2. querySelectorAll - find all via CSS selector
  3. evaluate - find all via XPath selector