IsVisibleElementAsync

Parent Previous Next

IsVisibleElementAsync

Description: the method determines the visibility of the element and returns the value true or false

Syntax: IsVisibleElementAsync(string by, string locator)

Return value: bool (true or false)


Example:

bool result = await tester.IsVisibleElementAsync(Tester.BY_XPATH, "//*[@id='login']");


bool result = await tester.IsVisibleElementAsync(Tester.BY_CSS, "#login");


await tester.AssertTrueAsync(result);

Created with the Personal Edition of HelpNDoc: News and information about help authoring tools and software