A number of tests and internal functions use xpath to make assertions. This is a very powerful feature, but is not documented or exposed in any way.
This patch adds an
xpath method to DrupalWebTestCase so that it can be both documented, used consistently, and enclosed in the proper
The patch also reactors existing tests and internal code that uses xpath. Changing
I have not tested this patch and will get back to it, but I have to leave at the moment so I figured I would post what I have.