Getxpathcount

Returns the number of nodes that match the specified xpath, eg. "//table" would give the number of tables.

Required Attributes
xpath
the xpath expression to evaluate. do NOT wrap this expression in a 'count()' function; we will do that for you.
property
the name of the property to save the value to.
Usage Examples
Example #1
<selenium baseurl="http://www.yahoo.com">
   
<open url="/finance" />
   
<getXpathCount property="number_of_inputs" xpath="//input" />
</selenium>