WaitElementNotDomAsync

Parent Previous Next

WaitElementNotDomAsync

Description: the method temporarily stops the test execution for the specified number of seconds and waits for the requested element to cease to be present in the DOM

Syntax: WaitElementNotDomAsync(string by, string locator, int sec)

Return value: no return value


Example:

await tester.WaitElementNotDomAsync(Tester.BY_XPATH, "//div[@id='element']", 5);

await tester.WaitElementNotDomAsync(Tester.BY_CSS, "#element", 5);

Created with the Personal Edition of HelpNDoc: Easy CHM and documentation editor