GetCountElementsAsync

Parent Previous Next

GetCountElementsAsync

Description: the method returns the number of found items

Syntax: GetCountElementsAsync(string by, string locator)

Return value: int


Example:

int count = await tester.GetCountElementsAsync(Tester.BY_CSS, "input");


int count = await tester.GetCountElementsAsync(Tester.BY_XPATH, "//input");

Created with the Personal Edition of HelpNDoc: Easily create CHM Help documents