DefaultSelenium GetCSSCount Method WebDriver
Returns the number of nodes that match the specified css, eg. "css=table" would give the number of tables.

Namespace: Selenium
Assembly: ThoughtWorks.Selenium.Core (in ThoughtWorks.Selenium.Core.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax

public decimal GetCSSCount(
	string cssLocator
)

Parameters

cssLocator
Type: OnlineSystem String
the css path 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 css locator
See Also