An NDoc Documented Class Library |

# DefaultSelenium.GetXpathCount Method

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

public 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

#### Implements

ISelenium.GetXpathCount

#### See Also

DefaultSelenium Class | Selenium Namespace