FindVisibleElementAsync
Description: the method searches for a visually displayed element with a wait in seconds and returns a logical result true or false
Syntax: FindVisibleElementAsync(string by, string locator, int sec)
Return value: bool (true or false)
Example:
FRAMEElement frame = await tester.GetFrameAsync(0);
bool result = await frame.FindVisibleElementAsync(Tester.BY_CSS, "#auth #buttonLogin", 2);
bool result = await frame.FindVisibleElementAsync(Tester.BY_XPATH, "//div[@id='auth']//input[@id='buttonLogin']", 2);
Created with the Personal Edition of HelpNDoc: Produce electronic books easily