An NDoc Documented Class Library |

# ISelenium.GetXpathCount Method

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

decimal 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.

#### Return Value

the number of nodes that match the specified xpath

#### See Also

ISelenium Interface | Selenium Namespace