Returns the number of nodes that match the specified xpath, eg. "//table" would give
the number of tables.
Namespace: SeleniumAssembly: ThoughtWorks.Selenium.Core (in ThoughtWorks.Selenium.Core.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax
Parameters
- xpath
- Type:
System String
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 xpathImplements
ISelenium GetXpathCount(String)See Also