nodeSelector Bookmarklet

  1. Right click and bookmark this: nodeSelector bookmarklet
  2. Visit any webpage.
  3. Click your newly created bookmark (should be named nodeSelector bookmarklet).
  4. Find the interesting item on the page and click it.
  5. See the xpath to that node.
  6. Press ESC anytime to stop selecting nodes.
  7. ...
  8. Profit.