GetCountElementsAsync
Description: the method returns the number of found items
Syntax: GetCountElementsAsync(string by, string locator)
Return value: int
Example:
FRAMEElement frame = await tester.GetFrameAsync(0);
int count = await frame.GetCountElementsAsync(Tester.BY_CSS, "input");
int count = await frame.GetCountElementsAsync(Tester.BY_XPATH, "//input");
Created with the Personal Edition of HelpNDoc: Full-featured multi-format Help generator