Testing_Selenium::getXpathCount
Returns the number of nodes that match the specified xpath, eg. "//table" would give the number of tables.
Signature
public function getXpathCount(string
$xpath )
Parameters
-
$xpath
- the xpath expression to evaluate. do NOT wrap this expression in a 'count()' function; we will do that for you.
Returns
- number
- the number of nodes that match the specified xpath