From FirebugWiki
Revision as of 03:46, 5 July 2012 by Sebastianz (Talk | contribs) (Added description of syntax and linked back to Command Line API)

Jump to: navigation, search

This command returns an array of HTML or XML elements matching the given XPath expression. This means it is actually a shortcut for document.evaluate().

Currently this command is limited to node arrays. See issue 18 for supporting other results to be printed.





XPath expression used to match the elements to return. This follows the syntax of document.evaluate(). (required)



This returns all <p>s of a page.


This returns all checkboxes of a page.


This returns all text nodes within every first <b> of all <p>s of a page.

See also